You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Stryker.Core/Stryker.Core.UnitTest/Mutants/CsharpMutantOrchestratorTests.cs
+39-4Lines changed: 39 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1029,11 +1029,46 @@ public void ShouldNotMutateDefaultValues()
1029
1029
[TestMethod]
1030
1030
publicvoidShouldInitializeOutVars()
1031
1031
{
1032
-
varsource=@"public void SomeMethod(out int x, out string text) { x = 1; text = ""hello"";}";
1033
-
varexpected=@"public void SomeMethod(out int x, out string text) {{x= default(int);text= default(string);}if(StrykerNamespace.MutantControl.IsActive(0)){}else{ x = 1; text = (StrykerNamespace.MutantControl.IsActive(1)?"""":""hello"");
1034
-
}}";
1032
+
conststringSource="""public void SomeMethod(out int x, out string text) { x = 1; text = "hello";}""";
1033
+
conststringExpected="""
1034
+
public void SomeMethod(out int x, out string text) {{x= default(int);text= default(string);}if(StrykerNamespace.MutantControl.IsActive(0)){}else{ x = 1; text = (StrykerNamespace.MutantControl.IsActive(1)?"":"hello");
0 commit comments