Skip to content

Commit d2e2bb8

Browse files
author
Sébastien Geiser
committed
Refac
1 parent 21a2058 commit d2e2bb8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CodingSeb.ExpressionEvaluator.Tests/ExpressionEvaluatorScriptEvaluateTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,12 +1627,12 @@ public static IEnumerable<TestCaseData> TestCasesForRemoveCommentsTests
16271627
yield return new TestCaseData("/* multi line\nblock comment */").SetCategory("RemoveComments").Returns("\n");
16281628
yield return new TestCaseData(@"a = ""apple""; // test").SetCategory("RemoveComments").Returns(@"a = ""apple""; ");
16291629
yield return new TestCaseData(@"a = ""apple""; /* test */").SetCategory("RemoveComments").Returns(@"a = ""apple""; ");
1630-
yield return new TestCaseData(@"// /*comment within comments */").SetCategory("RemoveComments").Returns(@" ");
1631-
yield return new TestCaseData(@"/* //comment within comments */").SetCategory("RemoveComments").Returns(@" ");
1632-
yield return new TestCaseData(@"// bla bla /*comment within comments */ bla bla").SetCategory("RemoveComments").Returns(@" ");
1633-
yield return new TestCaseData(@"/* bla bla //comment within comments */").SetCategory("RemoveComments").Returns(@" ");
1634-
yield return new TestCaseData(@"// ""bla bla"" ").SetCategory("RemoveComments").Returns(@" ");
1635-
yield return new TestCaseData(@"/* ""bla bla"" */").SetCategory("RemoveComments").Returns(@" ");
1630+
yield return new TestCaseData("// /*comment within comments */").SetCategory("RemoveComments").Returns(" ");
1631+
yield return new TestCaseData("/* //comment within comments */").SetCategory("RemoveComments").Returns(" ");
1632+
yield return new TestCaseData("// bla bla /*comment within comments */ bla bla").SetCategory("RemoveComments").Returns(" ");
1633+
yield return new TestCaseData("/* bla bla //comment within comments */").SetCategory("RemoveComments").Returns(" ");
1634+
yield return new TestCaseData(@"// ""bla bla"" ").SetCategory("RemoveComments").Returns(" ");
1635+
yield return new TestCaseData(@"/* ""bla bla"" */").SetCategory("RemoveComments").Returns(" ");
16361636
yield return new TestCaseData(@"""// test """).SetCategory("RemoveComments").SetCategory("Not a comments").Returns(@"""// test """);
16371637
yield return new TestCaseData(@"""/* test */""").SetCategory("RemoveComments").SetCategory("Not a comments").Returns(@"""/* test */""");
16381638
yield return new TestCaseData(@"""bla bla // test """).SetCategory("RemoveComments").SetCategory("Not a comments").Returns(@"""bla bla // test """);

0 commit comments

Comments
 (0)