Index: Migration/Console/test/Migration.Console.Test/ConsoleHelperTest.cs =================================================================== diff -u -r56e690b056dd0901609e651f6ac3c010d3d002b7 -r598d038fd4e76b2c75ac49e0d334d2fbc987f876 --- Migration/Console/test/Migration.Console.Test/ConsoleHelperTest.cs (.../ConsoleHelperTest.cs) (revision 56e690b056dd0901609e651f6ac3c010d3d002b7) +++ Migration/Console/test/Migration.Console.Test/ConsoleHelperTest.cs (.../ConsoleHelperTest.cs) (revision 598d038fd4e76b2c75ac49e0d334d2fbc987f876) @@ -39,7 +39,7 @@ public void WriteErrorLine_StringNull_ThrowsArgumentNullException() { // Setup - var originalColor = SystemConsole.ForegroundColor; + ConsoleColor originalColor = SystemConsole.ForegroundColor; const string args = "an argument"; // Call @@ -55,7 +55,7 @@ public void WriteErrorLine_ArgsNull_ThrowsArgumentNullException() { // Setup - var originalColor = SystemConsole.ForegroundColor; + ConsoleColor originalColor = SystemConsole.ForegroundColor; const string writeLine = "this is an error line with {0}"; // Call @@ -71,7 +71,7 @@ public void WriteErrorLine_StringAndParamArgs_WritesExpectedLine() { // Setup - var originalColor = SystemConsole.ForegroundColor; + ConsoleColor originalColor = SystemConsole.ForegroundColor; const string writeLine = "this is an error line with {0}"; const string args = "an argument"; string consoleText; @@ -92,7 +92,7 @@ public void WriteErrorLine_String_WritesExpectedLine() { // Setup - var originalColor = SystemConsole.ForegroundColor; + ConsoleColor originalColor = SystemConsole.ForegroundColor; const string writeLine = "this is an error line"; string consoleText; @@ -165,8 +165,8 @@ } // Assert - var expectedText = string.Concat(" ", string.Format(writeLine, args), - Environment.NewLine, Environment.NewLine); + string expectedText = string.Concat(" ", string.Format(writeLine, args), + Environment.NewLine, Environment.NewLine); Assert.AreEqual(expectedText, consoleText); } @@ -185,8 +185,7 @@ } // Assert - var expectedText = string.Concat(" ", writeLine, Environment.NewLine, - Environment.NewLine); + var expectedText = string.Concat(" ", writeLine, Environment.NewLine, Environment.NewLine); Assert.AreEqual(expectedText, consoleText); }