summaryrefslogtreecommitdiff
path: root/erts/test
diff options
context:
space:
mode:
authorHans Bolinder <hasse@erlang.org>2020-10-23 14:14:30 +0200
committerHans Bolinder <hasse@erlang.org>2021-01-26 11:57:13 +0100
commitfa161793ed4e4020458c27c992a7f16b1a4ebfe3 (patch)
tree85c06d9a25d45a8514a989e59a0cc9e0f779fece /erts/test
parentff4a6d22fcf9480139d6fb646a9e7a59db4f7728 (diff)
downloaderlang-fa161793ed4e4020458c27c992a7f16b1a4ebfe3.tar.gz
erts: Adjust column number of a test case
Diffstat (limited to 'erts/test')
-rw-r--r--erts/test/erlc_SUITE.erl9
1 files changed, 5 insertions, 4 deletions
diff --git a/erts/test/erlc_SUITE.erl b/erts/test/erlc_SUITE.erl
index c41d1ded74..3451039333 100644
--- a/erts/test/erlc_SUITE.erl
+++ b/erts/test/erlc_SUITE.erl
@@ -112,9 +112,9 @@ compile_yecc(Config) when is_list(Config) ->
BadFile = filename:join(SrcDir, "yecc_test_bad.yrl"),
run(Config, Cmd, BadFile, "-W0",
- ["rootsymbol form is not a nonterminal\$",
+ ["Nonterminals is missing\$",
+ "rootsymbol form is not a nonterminal\$",
"undefined nonterminal: form\$",
- "Nonterminals is missing\$",
"_ERROR_"]),
exists(filename:join(OutDir, "yecc_test_ok.erl")),
ok.
@@ -357,10 +357,11 @@ make_dep_options(Config) ->
%% since compiler is run on the erlang code a warning will be
%% issued by the compiler, match that.
- WarningRE = "/system_test/erlc_SUITE_data/src/erl_test_ok.erl:[0-9]+: "
+ WarningRE =
+ "/system_test/erlc_SUITE_data/src/erl_test_ok.erl:[0-9]+:[0-9]+: "
"Warning: function foo/0 is unused$",
ErrorRE = "/system_test/erlc_SUITE_data/src/erl_test_missing_header.erl:"
- "[0-9]+: can't find include file \"missing.hrl\"$",
+ "[0-9]+:[0-9]+: can't find include file \"missing.hrl\"$",
DepRE_MMD = insert_before("_OK_", WarningRE, DepRE),
DepRETarget_MMD = insert_before("_OK_", WarningRE, DepRETarget),