diff options
author | Björn-Egil Dahlberg <[email protected]> | 2017-03-02 11:22:49 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2017-03-02 11:22:49 +0100 |
commit | b9847009f7ca88f61adb21f4de9db54fc1c7e96a (patch) | |
tree | 5205cb878a6e66ae5ea430571137583371ec791d /lib | |
parent | 3e638439e80e388aa66a2047735a47c954cd70c8 (diff) | |
download | otp-b9847009f7ca88f61adb21f4de9db54fc1c7e96a.tar.gz otp-b9847009f7ca88f61adb21f4de9db54fc1c7e96a.tar.bz2 otp-b9847009f7ca88f61adb21f4de9db54fc1c7e96a.zip |
observer: Fix crashdump viewer testcase
Diffstat (limited to 'lib')
-rw-r--r-- | lib/observer/test/crashdump_helper.erl | 2 |
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), |