Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 70d5f71

Browse files
committedSep 15, 2021
fixup! Fail when sketch files cannot be opened during load
1 parent 384b86c commit 70d5f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/test_compile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def test_broken_symlink(sketch_name, link_name, target_name, expect_error):
212212
# The assertion is a bit relaxed in this case because win behaves differently from macOs and linux
213213
# returning a different error detailed message #TODO: Is this true
214214
# here too and should the error message check be more generic?
215-
expected_error = "Error during build: Can't open sketch: stat {}: no such file or directory".format(
215+
expected_error = "Error during build: Can't open sketch: open {}: no such file or directory".format(
216216
symlink_file
217217
)
218218
assert expected_error in result.stderr

0 commit comments

Comments
 (0)
Please sign in to comment.