@@ -79,8 +79,6 @@ func TestPrototypesAdderBridgeExample(t *testing.T) {
79
79
80
80
require .Equal (t , "#include <Arduino.h>\n #line 1\n " , context [constants .CTX_INCLUDE_SECTION ].(string ))
81
81
require .Equal (t , "void setup();\n void loop();\n void process(YunClient client);\n void digitalCommand(YunClient client);\n void analogCommand(YunClient client);\n void modeCommand(YunClient client);\n #line 33\n " , context [constants .CTX_PROTOTYPE_SECTION ].(string ))
82
-
83
- NoError (t , DeleteAnyDotDFile ())
84
82
}
85
83
86
84
func TestPrototypesAdderSketchWithIfDef (t * testing.T ) {
@@ -125,8 +123,6 @@ func TestPrototypesAdderSketchWithIfDef(t *testing.T) {
125
123
preprocessed := string (bytes )
126
124
127
125
require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
128
-
129
- NoError (t , DeleteAnyDotDFile ())
130
126
}
131
127
132
128
func TestPrototypesAdderBaladuino (t * testing.T ) {
@@ -171,8 +167,6 @@ func TestPrototypesAdderBaladuino(t *testing.T) {
171
167
preprocessed := string (bytes )
172
168
173
169
require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
174
-
175
- NoError (t , DeleteAnyDotDFile ())
176
170
}
177
171
178
172
func TestPrototypesAdderCharWithEscapedDoubleQuote (t * testing.T ) {
@@ -217,8 +211,6 @@ func TestPrototypesAdderCharWithEscapedDoubleQuote(t *testing.T) {
217
211
preprocessed := string (bytes )
218
212
219
213
require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
220
-
221
- NoError (t , DeleteAnyDotDFile ())
222
214
}
223
215
224
216
func TestPrototypesAdderIncludeBetweenMultilineComment (t * testing.T ) {
@@ -263,8 +255,6 @@ func TestPrototypesAdderIncludeBetweenMultilineComment(t *testing.T) {
263
255
preprocessed := string (bytes )
264
256
265
257
require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
266
-
267
- NoError (t , DeleteAnyDotDFile ())
268
258
}
269
259
270
260
func TestPrototypesAdderLineContinuations (t * testing.T ) {
@@ -309,8 +299,6 @@ func TestPrototypesAdderLineContinuations(t *testing.T) {
309
299
preprocessed := string (bytes )
310
300
311
301
require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
312
-
313
- NoError (t , DeleteAnyDotDFile ())
314
302
}
315
303
316
304
func TestPrototypesAdderStringWithComment (t * testing.T ) {
@@ -355,8 +343,6 @@ func TestPrototypesAdderStringWithComment(t *testing.T) {
355
343
preprocessed := string (bytes )
356
344
357
345
require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
358
-
359
- NoError (t , DeleteAnyDotDFile ())
360
346
}
361
347
362
348
func TestPrototypesAdderSketchWithStruct (t * testing.T ) {
@@ -401,8 +387,6 @@ func TestPrototypesAdderSketchWithStruct(t *testing.T) {
401
387
preprocessed := string (bytes )
402
388
403
389
require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
404
-
405
- NoError (t , DeleteAnyDotDFile ())
406
390
}
407
391
408
392
func TestPrototypesAdderSketchWithConfig (t * testing.T ) {
@@ -450,6 +434,4 @@ func TestPrototypesAdderSketchWithConfig(t *testing.T) {
450
434
preprocessed := string (bytes )
451
435
452
436
require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
453
-
454
- NoError (t , DeleteAnyDotDFile ())
455
437
}
0 commit comments