@@ -79,8 +79,6 @@ func TestPrototypesAdderBridgeExample(t *testing.T) {
7979
8080 require .Equal (t , "#include <Arduino.h>\n #line 1\n " , context [constants .CTX_INCLUDE_SECTION ].(string ))
8181 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 ())
8482}
8583
8684func TestPrototypesAdderSketchWithIfDef (t * testing.T ) {
@@ -125,8 +123,6 @@ func TestPrototypesAdderSketchWithIfDef(t *testing.T) {
125123 preprocessed := string (bytes )
126124
127125 require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
128-
129- NoError (t , DeleteAnyDotDFile ())
130126}
131127
132128func TestPrototypesAdderBaladuino (t * testing.T ) {
@@ -171,8 +167,6 @@ func TestPrototypesAdderBaladuino(t *testing.T) {
171167 preprocessed := string (bytes )
172168
173169 require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
174-
175- NoError (t , DeleteAnyDotDFile ())
176170}
177171
178172func TestPrototypesAdderCharWithEscapedDoubleQuote (t * testing.T ) {
@@ -217,8 +211,6 @@ func TestPrototypesAdderCharWithEscapedDoubleQuote(t *testing.T) {
217211 preprocessed := string (bytes )
218212
219213 require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
220-
221- NoError (t , DeleteAnyDotDFile ())
222214}
223215
224216func TestPrototypesAdderIncludeBetweenMultilineComment (t * testing.T ) {
@@ -263,8 +255,6 @@ func TestPrototypesAdderIncludeBetweenMultilineComment(t *testing.T) {
263255 preprocessed := string (bytes )
264256
265257 require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
266-
267- NoError (t , DeleteAnyDotDFile ())
268258}
269259
270260func TestPrototypesAdderLineContinuations (t * testing.T ) {
@@ -309,8 +299,6 @@ func TestPrototypesAdderLineContinuations(t *testing.T) {
309299 preprocessed := string (bytes )
310300
311301 require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
312-
313- NoError (t , DeleteAnyDotDFile ())
314302}
315303
316304func TestPrototypesAdderStringWithComment (t * testing.T ) {
@@ -355,8 +343,6 @@ func TestPrototypesAdderStringWithComment(t *testing.T) {
355343 preprocessed := string (bytes )
356344
357345 require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
358-
359- NoError (t , DeleteAnyDotDFile ())
360346}
361347
362348func TestPrototypesAdderSketchWithStruct (t * testing.T ) {
@@ -401,8 +387,6 @@ func TestPrototypesAdderSketchWithStruct(t *testing.T) {
401387 preprocessed := string (bytes )
402388
403389 require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
404-
405- NoError (t , DeleteAnyDotDFile ())
406390}
407391
408392func TestPrototypesAdderSketchWithConfig (t * testing.T ) {
@@ -450,6 +434,4 @@ func TestPrototypesAdderSketchWithConfig(t *testing.T) {
450434 preprocessed := string (bytes )
451435
452436 require .Equal (t , preprocessed , strings .Replace (context [constants .CTX_SOURCE ].(string ), "\r \n " , "\n " , - 1 ))
453-
454- NoError (t , DeleteAnyDotDFile ())
455437}
0 commit comments