Fix unpretty UI test when /tmp does not exist

This commit is contained in:
Alex Macleod 2024-03-24 13:57:59 +00:00
parent 4a52e9cc2a
commit 47192937d4
2 changed files with 2 additions and 2 deletions

View file

@ -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() {}

View file

@ -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