@@ -91,17 +91,17 @@ def test_compile_sketch_with_multiple_main_files(run_command, data_dir):
91
91
# Build sketch from folder
92
92
res = run_command (["compile" , "--clean" , "-b" , fqbn , sketch_path ])
93
93
assert res .failed
94
- assert "Error during build: Can't open sketch: multiple main sketch files found" in res .stderr
94
+ assert "Error opening sketch: multiple main sketch files found" in res .stderr
95
95
96
96
# Build sketch from .ino file
97
97
res = run_command (["compile" , "--clean" , "-b" , fqbn , sketch_ino_file ])
98
98
assert res .failed
99
- assert "Error during build: Can't open sketch: multiple main sketch files found" in res .stderr
99
+ assert "Error opening sketch: multiple main sketch files found" in res .stderr
100
100
101
101
# Build sketch from .pde file
102
102
res = run_command (["compile" , "--clean" , "-b" , fqbn , sketch_pde_file ])
103
103
assert res .failed
104
- assert "Error during build: Can't open sketch: multiple main sketch files found" in res .stderr
104
+ assert "Error opening sketch: multiple main sketch files found" in res .stderr
105
105
106
106
107
107
def test_compile_sketch_case_mismatch_fails (run_command , data_dir ):
@@ -124,15 +124,15 @@ def test_compile_sketch_case_mismatch_fails(run_command, data_dir):
124
124
# * Compiling with sketch path
125
125
res = run_command (["compile" , "--clean" , "-b" , fqbn , sketch_path ])
126
126
assert res .failed
127
- assert "Error during build: Can't open sketch: no valid sketch found" in res .stderr
127
+ assert "Error opening sketch: no valid sketch found" in res .stderr
128
128
# * Compiling with sketch main file
129
129
res = run_command (["compile" , "--clean" , "-b" , fqbn , sketch_main_file ])
130
130
assert res .failed
131
- assert "Error during build: Can't open sketch: no valid sketch found" in res .stderr
131
+ assert "Error opening sketch: no valid sketch found" in res .stderr
132
132
# * Compiling in sketch path
133
133
res = run_command (["compile" , "--clean" , "-b" , fqbn ], custom_working_dir = sketch_path )
134
134
assert res .failed
135
- assert "Error during build: Can't open sketch: no valid sketch found" in res .stderr
135
+ assert "Error opening sketch: no valid sketch found" in res .stderr
136
136
137
137
138
138
def test_compile_with_only_compilation_database_flag (run_command , data_dir ):
0 commit comments