Skip to content

Commit 0c62798

Browse files
author
Federico Fissore
committed
Fixed typo in test
1 parent b6fa3c7 commit 0c62798

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ public void testSourceWithQuoteAndDoubleQuotesEscapedAndFinalQuoteShouldNotRaise
1414
String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("RemoteCallLogger_v1e0.ino").getFile()));
1515

1616
PdePreprocessor pdePreprocessor = new PdePreprocessor();
17-
String stippedOutput = pdePreprocessor.strip(s);
17+
String strippedOutput = pdePreprocessor.strip(s);
1818
String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("RemoteCallLogger_v1e0.stripped.ino").getFile()));
1919

20-
assertEquals(expectedStrippedOutput, stippedOutput);
20+
assertEquals(expectedStrippedOutput, strippedOutput);
2121

2222
pdePreprocessor.writePrefix(s);
2323

@@ -36,10 +36,10 @@ public void testIncludeInsideMultilineComment() throws Exception {
3636
String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("IncludeBetweenMultilineComment.ino").getFile()));
3737

3838
PdePreprocessor pdePreprocessor = new PdePreprocessor();
39-
String stippedOutput = pdePreprocessor.strip(s);
39+
String strippedOutput = pdePreprocessor.strip(s);
4040
String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("IncludeBetweenMultilineComment.stripped.ino").getFile()));
4141

42-
assertEquals(expectedStrippedOutput, stippedOutput);
42+
assertEquals(expectedStrippedOutput, strippedOutput);
4343

4444
pdePreprocessor.writePrefix(s);
4545

@@ -57,10 +57,10 @@ public void testPdePreprocessorRegressionBaladuino() throws Exception {
5757
String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("Baladuino.ino").getFile()));
5858

5959
PdePreprocessor pdePreprocessor = new PdePreprocessor();
60-
String stippedOutput = pdePreprocessor.strip(s);
60+
String strippedOutput = pdePreprocessor.strip(s);
6161
String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("Baladuino.stripped.ino").getFile()));
6262

63-
assertEquals(expectedStrippedOutput, stippedOutput);
63+
assertEquals(expectedStrippedOutput, strippedOutput);
6464

6565
pdePreprocessor.writePrefix(s);
6666

@@ -86,10 +86,10 @@ public void testStringWithCcomment() throws Exception {
8686
String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("StringWithCcomment.ino").getFile()));
8787

8888
PdePreprocessor pdePreprocessor = new PdePreprocessor();
89-
String stippedOutput = pdePreprocessor.strip(s);
89+
String strippedOutput = pdePreprocessor.strip(s);
9090
String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("StringWithCcomment.stripped.ino").getFile()));
9191

92-
assertEquals(expectedStrippedOutput, stippedOutput);
92+
assertEquals(expectedStrippedOutput, strippedOutput);
9393

9494
pdePreprocessor.writePrefix(s);
9595

@@ -106,10 +106,10 @@ public void testCharWithEscapedDoubleQuote() throws Exception {
106106
String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("CharWithEscapedDoubleQuote.ino").getFile()));
107107

108108
PdePreprocessor pdePreprocessor = new PdePreprocessor();
109-
String stippedOutput = pdePreprocessor.strip(s);
109+
String strippedOutput = pdePreprocessor.strip(s);
110110
String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("CharWithEscapedDoubleQuote.stripped.ino").getFile()));
111111

112-
assertEquals(expectedStrippedOutput, stippedOutput);
112+
assertEquals(expectedStrippedOutput, strippedOutput);
113113

114114
pdePreprocessor.writePrefix(s);
115115

@@ -128,10 +128,10 @@ public void testLineContinuations() throws Exception {
128128
String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("LineContinuations.ino").getFile()));
129129

130130
PdePreprocessor pdePreprocessor = new PdePreprocessor();
131-
String stippedOutput = pdePreprocessor.strip(s);
131+
String strippedOutput = pdePreprocessor.strip(s);
132132
String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("LineContinuations.stripped.ino").getFile()));
133133

134-
assertEquals(expectedStrippedOutput, stippedOutput);
134+
assertEquals(expectedStrippedOutput, strippedOutput);
135135

136136
pdePreprocessor.writePrefix(s);
137137

0 commit comments

Comments
 (0)