diff --git a/bazaar/GtestUIExample/TestAppWindow.cpp b/bazaar/GtestUIExample/TestAppWindow.cpp index 6c5aea8fd..7b0d15c6b 100644 --- a/bazaar/GtestUIExample/TestAppWindow.cpp +++ b/bazaar/GtestUIExample/TestAppWindow.cpp @@ -55,9 +55,7 @@ TEST_F(AppWindowTest, ApperanceTest) PNGEncoder encoder; if (!FileExists(fileName)) { encoder.SaveFile(fileName, id); - Cout() << "Non referal window image. Creating and failing test..\n"; - ASSERT_TRUE(false); - return; + ASSERT_TRUE(false) << "Non found referal window image. Creating new one and failing test..\n"; } auto img = StreamRaster::LoadFileAny(fileName);