mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
PdePreprocessor: different patterns order leads to a slightly different result. Updating test
This commit is contained in:
@ -16,7 +16,7 @@ public class PdePreprocessorTest {
|
|||||||
String actualOutput = new PdePreprocessor().strip(s);
|
String actualOutput = new PdePreprocessor().strip(s);
|
||||||
String expectedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("RemoteCallLogger_v1e0.stripped.ino").getFile()));
|
String expectedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("RemoteCallLogger_v1e0.stripped.ino").getFile()));
|
||||||
|
|
||||||
assertEquals(actualOutput, expectedOutput);
|
assertEquals(expectedOutput, actualOutput);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -9,9 +9,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SoftwareSerial GPRS( 7, 8 );
|
SoftwareSerial GPRS( 7, 8 );
|
||||||
byte buffer[ 64 ];
|
byte buffer[ 64 ];
|
||||||
int count = 0, e = 0, count2 = 0, t = 0, q;
|
int count = 0, e = 0, count2 = 0, t = 0, q;
|
||||||
|
Reference in New Issue
Block a user