|
3 | 3 | Running tests/ui_tests.rs
|
4 | 4 | Compiler flags: ["--error-format=json", "--edition=2021"]
|
5 | 5 | Building test dependencies...
|
| 6 | +tests/actual_tests/bad_pattern.rs ... FAILED |
6 | 7 | tests/actual_tests/foomp.rs ... FAILED
|
7 | 8 |
|
| 9 | +tests/actual_tests/bad_pattern.rs FAILED: |
| 10 | +command: "rustc" "--error-format=json" "--edition=2021" "--extern" "basic_fail=/home/ubuntu/crates/ui_test/$DIR/../../../target/debug/deps/libbasic_fail-8603f4ccb2fe730c.rmeta" "-L" "/home/ubuntu/crates/ui_test/$DIR/../../../target/debug" "-L" "/home/ubuntu/crates/ui_test/$DIR/../../../target/debug/deps" "tests/actual_tests/bad_pattern.rs" |
| 11 | + |
| 12 | +substring `miesmätsched types` not found in stderr output |
| 13 | +expected because of pattern here: tests/actual_tests/bad_pattern.rs:5 |
| 14 | + |
| 15 | +There were 1 unmatched diagnostics at tests/actual_tests/bad_pattern.rs:4 |
| 16 | + Error: mismatched types |
| 17 | + |
| 18 | +full stderr: |
| 19 | +error[E0308]: mismatched types |
| 20 | + --> tests/actual_tests/bad_pattern.rs:4:9 |
| 21 | + | |
| 22 | +4 | add("42", 3); |
| 23 | + | --- ^^^^ expected `usize`, found `&str` |
| 24 | + | | |
| 25 | + | arguments to this function are incorrect |
| 26 | + | |
| 27 | +note: function defined here |
| 28 | + --> /home/ubuntu/crates/ui_test/$DIR/src/lib.rs:1:8 |
| 29 | + | |
| 30 | +1 | pub fn add(left: usize, right: usize) -> usize { |
| 31 | + | ^^^ |
| 32 | + |
| 33 | +error: aborting due to previous error |
| 34 | + |
| 35 | +For more information about this error, try `rustc --explain E0308`. |
| 36 | + |
| 37 | + |
| 38 | + |
8 | 39 | tests/actual_tests/foomp.rs FAILED:
|
9 |
| -command: "rustc" "--error-format=json" "--edition=2021" "--extern" "basic_fail=/home/ubuntu/crates/ui_test/$DIR/../../../target/debug/deps/libbasic_fail-8603f4ccb2fe730c.rmeta" "-L" "/home/ubuntu/crates/ui_test/$DIR/../../../target/debug/deps" "-L" "/home/ubuntu/crates/ui_test/$DIR/../../../target/debug" "tests/actual_tests/foomp.rs" |
| 40 | +command: "rustc" "--error-format=json" "--edition=2021" "--extern" "basic_fail=/home/ubuntu/crates/ui_test/$DIR/../../../target/debug/deps/libbasic_fail-8603f4ccb2fe730c.rmeta" "-L" "/home/ubuntu/crates/ui_test/$DIR/../../../target/debug" "-L" "/home/ubuntu/crates/ui_test/$DIR/../../../target/debug/deps" "tests/actual_tests/foomp.rs" |
10 | 41 |
|
11 | 42 | actual output differed from expected tests/actual_tests/foomp.stderr
|
12 | 43 | [1mDiff[0m [31m< left[0m / [32mright >[0m :
|
@@ -55,7 +86,8 @@ For more information about this error, try `rustc --explain E0308`.
|
55 | 86 |
|
56 | 87 |
|
57 | 88 | FAILURES:
|
| 89 | + tests/actual_tests/bad_pattern.rs |
58 | 90 | tests/actual_tests/foomp.rs
|
59 | 91 |
|
60 |
| -test result: FAIL. 1 tests failed, 0 tests passed, 0 ignored, 0 filtered out |
| 92 | +test result: FAIL. 2 tests failed, 0 tests passed, 0 ignored, 0 filtered out |
61 | 93 | error: test failed, to rerun pass '--test ui_tests'
|
0 commit comments