Skip to content

Commit e3e6d7e

Browse files
fixup! Add test for working and broken symlinks
1 parent 654f8dc commit e3e6d7e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: test/test_compile.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,7 @@ def test_broken_symlink(sketch_name, link_name, target_name, expect_error):
217217
result = run_command(["compile", "-b", fqbn, sketch_path])
218218

219219
if expect_error:
220-
# The assertion is a bit relaxed in this case because win behaves differently from macOs and linux
221-
# returning a different error detailed message #TODO: Is this true
222-
# here too and should the error message check be more generic?
223-
expected_error = "Error during build: Can't open sketch: open {}: no such file or directory".format(
220+
expected_error = "Error during build: Can't open sketch: open {}: ".format(
224221
symlink_file
225222
)
226223
assert expected_error in result.stderr

0 commit comments

Comments
 (0)