aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2018-04-17 20:16:14 +0200
committerRichard Carlsson <[email protected]>2018-05-04 10:27:20 +0200
commit3fd01b76d6940e6f161608d728a6bc679f1c9835 (patch)
treec29dba2403ffe5a719ee74278120334cbb8480b8 /lib
parenta71c186fcc9e4592016c1b2c146db7b70ee0755a (diff)
downloadotp-3fd01b76d6940e6f161608d728a6bc679f1c9835.tar.gz
otp-3fd01b76d6940e6f161608d728a6bc679f1c9835.tar.bz2
otp-3fd01b76d6940e6f161608d728a6bc679f1c9835.zip
Use \n escape instead of integer 10
Diffstat (limited to 'lib')
-rw-r--r--lib/dialyzer/test/options1_SUITE_data/src/compiler/compile.erl2
-rw-r--r--lib/parsetools/src/yecc.erl2
-rw-r--r--lib/tools/test/eprof_SUITE_data/eed.erl2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/dialyzer/test/options1_SUITE_data/src/compiler/compile.erl b/lib/dialyzer/test/options1_SUITE_data/src/compiler/compile.erl
index 4e4eb63509..6838cf6734 100644
--- a/lib/dialyzer/test/options1_SUITE_data/src/compiler/compile.erl
+++ b/lib/dialyzer/test/options1_SUITE_data/src/compiler/compile.erl
@@ -233,7 +233,7 @@ os_process_size() ->
0
end.
-nonl([10]) -> [];
+nonl([$\n]) -> [];
nonl([]) -> [];
nonl([H|T]) -> [H|nonl(T)].
diff --git a/lib/parsetools/src/yecc.erl b/lib/parsetools/src/yecc.erl
index fbffd228ea..ce1b9468fd 100644
--- a/lib/parsetools/src/yecc.erl
+++ b/lib/parsetools/src/yecc.erl
@@ -460,7 +460,7 @@ os_process_size() ->
0
end.
-nonl([10]) -> [];
+nonl([$\n]) -> [];
nonl([]) -> [];
nonl([H|T]) -> [H|nonl(T)].
diff --git a/lib/tools/test/eprof_SUITE_data/eed.erl b/lib/tools/test/eprof_SUITE_data/eed.erl
index 73531d8b99..9fe49c6f5c 100644
--- a/lib/tools/test/eprof_SUITE_data/eed.erl
+++ b/lib/tools/test/eprof_SUITE_data/eed.erl
@@ -66,7 +66,7 @@ loop(St0) ->
loop(St2)
end.
-nonl([10]) -> [];
+nonl([$\n]) -> [];
nonl([]) -> [];
nonl([H|T]) -> [H|nonl(T)].