You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -168,14 +164,15 @@ describe('debug (slow)', function () {
168
164
});
169
165
170
166
['en','it'].map((locale)=>
171
-
it(`should fail when the programmer is missing (locale: ${locale})`,asyncfunction(){
167
+
// Note: this test used to test the missing programmer error, but the programmer is optional after https://github.com/arduino/arduino-cli/pull/2544 so it's testing the bad request.
168
+
it(`should fail with bad argument (error code 7) if the debugging is not supported by the board (locale: ${locale})`,asyncfunction(){
172
169
if(!testEnv.cliConfigPaths[locale]){
173
170
this.skip();
174
171
}
175
172
awaitassert.rejects(
176
-
// Can be any arbitrary board that does not have a default programmer defined in the platform. Otherwise, the error does not occur.
173
+
// Can be any arbitrary board that does not support debugging.
0 commit comments