mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-27 21:54:30 +01:00
PdePreprocessor: different patterns order leads to a slightly different result. Updating test
This commit is contained in:
parent
05bf2b0be9
commit
e1579af565
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user