Skip to content

Commit a5a82c0

Browse files
author
Roberto Sora
committed
add fix test for subpath
1 parent c3004a4 commit a5a82c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/test_compile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ def test_sketch_new(run_command):
3939
assert os.path.isfile(os.path.join(current_sketch_path, sketch_name + ".ino"))
4040

4141
# Create a test sketch in current directory subpath but using an absolute path
42-
sketch_name = "SketchNewIntegrationTestAbsolute"
42+
sketch_name = "SketchNewIntegrationTestSubpath"
4343
sketch_subpath = os.path.join("subpath", sketch_name)
4444
current_sketch_path = os.path.join(current_path, sketch_subpath)
45-
result = run_command("sketch new {}".format(current_sketch_path))
45+
result = run_command("sketch new {}".format(sketch_subpath))
4646
assert result.ok
4747
assert "Sketch created in: {}".format(current_sketch_path) in result.stdout
4848
assert os.path.isfile(os.path.join(current_sketch_path, sketch_name + ".ino"))

0 commit comments

Comments
 (0)