diff options
author | Björn Gustavsson <[email protected]> | 2013-09-09 11:52:21 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-09-09 11:52:21 +0200 |
commit | 45eaf81506de99c915fe480553bf761667627001 (patch) | |
tree | 238f5202860e61ccc73555bd8a68940c6ac92819 /lib/compiler/test | |
parent | f461ee79e2dde881bc5ba9c7fe729993ccfe2884 (diff) | |
parent | 2f2824519d13e7745c02efbc7c29c37a76885fee (diff) | |
download | otp-45eaf81506de99c915fe480553bf761667627001.tar.gz otp-45eaf81506de99c915fe480553bf761667627001.tar.bz2 otp-45eaf81506de99c915fe480553bf761667627001.zip |
Merge branch 'maint'
* maint:
compiler: Conform returned errors to the documented format
Diffstat (limited to 'lib/compiler/test')
-rw-r--r-- | lib/compiler/test/compile_SUITE.erl | 4 | ||||
-rw-r--r-- | lib/compiler/test/core_fold_SUITE.erl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/compiler/test/compile_SUITE.erl b/lib/compiler/test/compile_SUITE.erl index da8aecdc8b..66ce6c00ab 100644 --- a/lib/compiler/test/compile_SUITE.erl +++ b/lib/compiler/test/compile_SUITE.erl @@ -139,8 +139,8 @@ forms_2(Config) when is_list(Config) -> module_mismatch(Config) when is_list(Config) -> ?line DataDir = ?config(data_dir, Config), ?line File = filename:join(DataDir, "wrong_module_name.erl"), - ?line {error,[{"wrong_module_name.beam", - [{compile,{module_name,arne,"wrong_module_name"}}]}], + {error,[{"wrong_module_name.beam", + [{none,compile,{module_name,arne,"wrong_module_name"}}]}], []} = compile:file(File, [return]), ?line error = compile:file(File, [report]), diff --git a/lib/compiler/test/core_fold_SUITE.erl b/lib/compiler/test/core_fold_SUITE.erl index abc9ab6a72..a5a4e62a42 100644 --- a/lib/compiler/test/core_fold_SUITE.erl +++ b/lib/compiler/test/core_fold_SUITE.erl @@ -299,7 +299,7 @@ unused_multiple_values_error(Config) when is_list(Config) -> Opts = [no_copt,clint,return,from_core,{outdir,PrivDir} |test_lib:opt_opts(?MODULE)], {error,[{unused_multiple_values_error, - [{core_lint,{return_mismatch,{hello,1}}}]}], + [{none,core_lint,{return_mismatch,{hello,1}}}]}], []} = c:c(Core, Opts), ok. |