From 3fd01b76d6940e6f161608d728a6bc679f1c9835 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Tue, 17 Apr 2018 20:16:14 +0200 Subject: Use \n escape instead of integer 10 --- lib/dialyzer/test/options1_SUITE_data/src/compiler/compile.erl | 2 +- lib/parsetools/src/yecc.erl | 2 +- lib/tools/test/eprof_SUITE_data/eed.erl | 2 +- 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)]. -- cgit v1.2.3