aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2018-04-17 13:28:24 +0200
committerRichard Carlsson <[email protected]>2018-05-04 10:22:36 +0200
commite7a3bf9c385ac6df2209c6f7c92543a3dd7f6497 (patch)
tree91975afb8062e901666d59dc1ee0dbb3e60b0fe6 /lib/kernel/test
parentf7fd8127c18f25bc9678bda067d1503a0bc0e3b2 (diff)
downloadotp-e7a3bf9c385ac6df2209c6f7c92543a3dd7f6497.tar.gz
otp-e7a3bf9c385ac6df2209c6f7c92543a3dd7f6497.tar.bz2
otp-e7a3bf9c385ac6df2209c6f7c92543a3dd7f6497.zip
Move lib:nonl/1 into yecc.erl
Diffstat (limited to 'lib/kernel/test')
-rw-r--r--lib/kernel/test/os_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/os_SUITE.erl b/lib/kernel/test/os_SUITE.erl
index 591fbb2125..a9e1ae6aa2 100644
--- a/lib/kernel/test/os_SUITE.erl
+++ b/lib/kernel/test/os_SUITE.erl
@@ -388,7 +388,7 @@ comp(Expected, Got) ->
ct:fail(failed)
end.
-%% Like lib:nonl/1, but strips \r as well as \n.
+%% strips \n and \r\n from end of string
strip_nl([$\r, $\n]) -> [];
strip_nl([$\n]) -> [];