-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test showing we don't run test normalizations after the global no…
…rmalizations
- Loading branch information
Showing
4 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
tests/integrations/basic-fail/tests/actual_tests_bless/normalization_override.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
//@normalize-stderr-test: "NORMALIZATION_OVERRIDE" -> "SUCCESS" | ||
|
||
// Test that the above normalization will be run after the default normalization set in ui_tests_bless.rs | ||
|
||
fn main() { | ||
asdf //~ ERROR: cannot find | ||
} |
9 changes: 9 additions & 0 deletions
9
tests/integrations/basic-fail/tests/actual_tests_bless/normalization_override.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
error[E0425]: cannot find value `asdf` in this scope | ||
--> tests/actual_tests_bless/NORMALIZATION_OVERRIDE.rs:6:5 | ||
| | ||
6 | asdf | ||
| ^^^^ not found in this scope | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0425`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters