Skip to content

Commit 3c9951e

Browse files
fixup! Add test for working and broken symlinks
1 parent 1956a56 commit 3c9951e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: test/test_compile.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -217,9 +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-
expected_error = "Error during build: Can't open sketch: open {}: ".format(
221-
symlink_file
222-
)
220+
expected_error = "Error during build: Can't open sketch: open {}: ".format(symlink_file)
223221
assert expected_error in result.stderr
224222
assert not result.ok
225223
else:

0 commit comments

Comments
 (0)