Skip to content

Commit e1579af

Browse files
author
Federico Fissore
committed
PdePreprocessor: different patterns order leads to a slightly different result. Updating test
1 parent 05bf2b0 commit e1579af

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/test/processing/app/preproc/PdePreprocessorTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public void testSourceWithQuoteAndDoubleQuotesEscapedAndFinalQuoteShouldNotRaise
1616
String actualOutput = new PdePreprocessor().strip(s);
1717
String expectedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("RemoteCallLogger_v1e0.stripped.ino").getFile()));
1818

19-
assertEquals(actualOutput, expectedOutput);
19+
assertEquals(expectedOutput, actualOutput);
2020
}
2121

2222
@Test

app/test/processing/app/preproc/RemoteCallLogger_v1e0.stripped.ino

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11

22

3-
4-
5-
63

74

85

0 commit comments

Comments
 (0)