Skip to content

Commit

Permalink
Fix unpretty UI test when /tmp does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexendoo committed Mar 24, 2024
1 parent 4a52e9c commit 4719293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ui/unpretty/avoid-crash.rs
Original file line number Diff line number Diff line change
@@ -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() {}
2 changes: 1 addition & 1 deletion tests/ui/unpretty/avoid-crash.stderr
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4719293

Please sign in to comment.