From da7353348443c90ec5b1060341dcbd28039584d2 Mon Sep 17 00:00:00 2001 From: klugier Date: Sun, 6 Sep 2020 11:44:12 +0000 Subject: [PATCH] Bazaar: GtestUIExample cosmetic improvements. git-svn-id: svn://ultimatepp.org/upp/trunk@14994 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/GtestUIExample/TestAppWindow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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);