From 0c62798fcb8aec843906866679d73b6b24944d50 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Thu, 6 Feb 2014 10:21:54 +0100 Subject: [PATCH] Fixed typo in test --- .../app/preproc/PdePreprocessorTest.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/test/processing/app/preproc/PdePreprocessorTest.java b/app/test/processing/app/preproc/PdePreprocessorTest.java index 2b9960777..aa66a84b6 100644 --- a/app/test/processing/app/preproc/PdePreprocessorTest.java +++ b/app/test/processing/app/preproc/PdePreprocessorTest.java @@ -14,10 +14,10 @@ public class PdePreprocessorTest { String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("RemoteCallLogger_v1e0.ino").getFile())); PdePreprocessor pdePreprocessor = new PdePreprocessor(); - String stippedOutput = pdePreprocessor.strip(s); + String strippedOutput = pdePreprocessor.strip(s); String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("RemoteCallLogger_v1e0.stripped.ino").getFile())); - assertEquals(expectedStrippedOutput, stippedOutput); + assertEquals(expectedStrippedOutput, strippedOutput); pdePreprocessor.writePrefix(s); @@ -36,10 +36,10 @@ public class PdePreprocessorTest { String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("IncludeBetweenMultilineComment.ino").getFile())); PdePreprocessor pdePreprocessor = new PdePreprocessor(); - String stippedOutput = pdePreprocessor.strip(s); + String strippedOutput = pdePreprocessor.strip(s); String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("IncludeBetweenMultilineComment.stripped.ino").getFile())); - assertEquals(expectedStrippedOutput, stippedOutput); + assertEquals(expectedStrippedOutput, strippedOutput); pdePreprocessor.writePrefix(s); @@ -57,10 +57,10 @@ public class PdePreprocessorTest { String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("Baladuino.ino").getFile())); PdePreprocessor pdePreprocessor = new PdePreprocessor(); - String stippedOutput = pdePreprocessor.strip(s); + String strippedOutput = pdePreprocessor.strip(s); String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("Baladuino.stripped.ino").getFile())); - assertEquals(expectedStrippedOutput, stippedOutput); + assertEquals(expectedStrippedOutput, strippedOutput); pdePreprocessor.writePrefix(s); @@ -86,10 +86,10 @@ public class PdePreprocessorTest { String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("StringWithCcomment.ino").getFile())); PdePreprocessor pdePreprocessor = new PdePreprocessor(); - String stippedOutput = pdePreprocessor.strip(s); + String strippedOutput = pdePreprocessor.strip(s); String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("StringWithCcomment.stripped.ino").getFile())); - assertEquals(expectedStrippedOutput, stippedOutput); + assertEquals(expectedStrippedOutput, strippedOutput); pdePreprocessor.writePrefix(s); @@ -106,10 +106,10 @@ public class PdePreprocessorTest { String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("CharWithEscapedDoubleQuote.ino").getFile())); PdePreprocessor pdePreprocessor = new PdePreprocessor(); - String stippedOutput = pdePreprocessor.strip(s); + String strippedOutput = pdePreprocessor.strip(s); String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("CharWithEscapedDoubleQuote.stripped.ino").getFile())); - assertEquals(expectedStrippedOutput, stippedOutput); + assertEquals(expectedStrippedOutput, strippedOutput); pdePreprocessor.writePrefix(s); @@ -128,10 +128,10 @@ public class PdePreprocessorTest { String s = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("LineContinuations.ino").getFile())); PdePreprocessor pdePreprocessor = new PdePreprocessor(); - String stippedOutput = pdePreprocessor.strip(s); + String strippedOutput = pdePreprocessor.strip(s); String expectedStrippedOutput = FileUtils.readFileToString(new File(PdePreprocessorTest.class.getResource("LineContinuations.stripped.ino").getFile())); - assertEquals(expectedStrippedOutput, stippedOutput); + assertEquals(expectedStrippedOutput, strippedOutput); pdePreprocessor.writePrefix(s);