diff options
| author | James Miller <bladeon@gmail.com> | 2013-04-10 18:02:15 +1200 |
|---|---|---|
| committer | James Miller <bladeon@gmail.com> | 2013-04-10 18:02:15 +1200 |
| commit | 1edfed7914f458172f182c13a2451a0120334092 (patch) | |
| tree | eb058727252260d91b1aa2bd30e7df89c510c07e | |
| parent | cd41ee2044c48c2948969ab9f28e3fd8063ba450 (diff) | |
| download | rust-1edfed7914f458172f182c13a2451a0120334092.tar.gz rust-1edfed7914f458172f182c13a2451a0120334092.zip | |
Change tests to use new error message
| -rw-r--r-- | src/test/compile-fail/elided-test.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/missing-main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/elided-test.rs b/src/test/compile-fail/elided-test.rs index b62214b12f9..eaae721e0e5 100644 --- a/src/test/compile-fail/elided-test.rs +++ b/src/test/compile-fail/elided-test.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// error-pattern: main function not found +// error-pattern: entry function not found // Since we're not compiling a test runner this function should be elided // and the build will fail because main doesn't exist diff --git a/src/test/compile-fail/missing-main.rs b/src/test/compile-fail/missing-main.rs index 4bfdaf69480..4f1b604b507 100644 --- a/src/test/compile-fail/missing-main.rs +++ b/src/test/compile-fail/missing-main.rs @@ -8,5 +8,5 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// error-pattern:main function not found +// error-pattern:entry function not found fn mian() { } |
