Visual Studio: Fixed unit tests. Ticket: #640

This commit is contained in:
Daniel Marjamäki 2010-08-07 21:05:14 +02:00
parent 764ce99c6f
commit eab69a686b
1 changed files with 4 additions and 0 deletions

View File

@ -1133,7 +1133,11 @@ private:
// Compare results..
ASSERT_EQUALS(1, static_cast<unsigned int>(actual.size()));
#ifdef __GNUC__
ASSERT_EQUALS("\n\nint a = 4; int b = 5;\n", actual[""]);
#else
ASSERT_EQUALS("\nint b = 5;\nint a = 4;\\\n", actual[""]);
#endif
ASSERT_EQUALS("", errout.str());
}