Skip to content

Commit 1edfed7

Browse files
author
James Miller
committed
Change tests to use new error message
1 parent cd41ee2 commit 1edfed7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/compile-fail/elided-test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern: main function not found
11+
// error-pattern: entry function not found
1212

1313
// Since we're not compiling a test runner this function should be elided
1414
// and the build will fail because main doesn't exist

src/test/compile-fail/missing-main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern:main function not found
11+
// error-pattern:entry function not found
1212
fn mian() { }

0 commit comments

Comments
 (0)