mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Rollup merge of #122999 - Alexendoo:unpretty-avoid-crash-test, r=petrochenkov
Fix unpretty UI test when /tmp does not exist On Windows this test fails if e.g. `C:\tmp` is created successfully
This commit is contained in:
commit
657dd0b797
@ -1,4 +1,4 @@
|
||||
//@ normalize-stderr-test "error `.*`" -> "$$ERROR_MESSAGE"
|
||||
//@ compile-flags: -o/tmp/ -Zunpretty=ast-tree
|
||||
//@ compile-flags: -o. -Zunpretty=ast-tree
|
||||
|
||||
fn main() {}
|
||||
|
@ -1,4 +1,4 @@
|
||||
error: failed to write `/tmp/` due to $ERROR_MESSAGE
|
||||
error: failed to write `.` due to $ERROR_MESSAGE
|
||||
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user