aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test/crashdump_helper.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2017-03-02 11:22:49 +0100
committerBjörn-Egil Dahlberg <[email protected]>2017-03-02 11:22:49 +0100
commitb9847009f7ca88f61adb21f4de9db54fc1c7e96a (patch)
tree5205cb878a6e66ae5ea430571137583371ec791d /lib/observer/test/crashdump_helper.erl
parent3e638439e80e388aa66a2047735a47c954cd70c8 (diff)
downloadotp-b9847009f7ca88f61adb21f4de9db54fc1c7e96a.tar.gz
otp-b9847009f7ca88f61adb21f4de9db54fc1c7e96a.tar.bz2
otp-b9847009f7ca88f61adb21f4de9db54fc1c7e96a.zip
observer: Fix crashdump viewer testcase
Diffstat (limited to 'lib/observer/test/crashdump_helper.erl')
-rw-r--r--lib/observer/test/crashdump_helper.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/test/crashdump_helper.erl b/lib/observer/test/crashdump_helper.erl
index 4239a3d0d1..e57c8162e4 100644
--- a/lib/observer/test/crashdump_helper.erl
+++ b/lib/observer/test/crashdump_helper.erl
@@ -44,7 +44,7 @@ n1_proc(Creator,_N2,Pid2,Port2,_L) ->
Ref = make_ref(),
Pid = self(),
Bin = list_to_binary(lists:seq(1, 255)),
- SubBin = element(1, split_binary(element(2, split_binary(Bin, 8)), 17)),
+ <<_:2,SubBin:17/binary,_/bits>> = Bin,
register(named_port,Port),