]> git.stg.codes - stg.git/blobdiff - tests/test_conffiles.cpp
Port to CMake, get rid of os_int.h.
[stg.git] / tests / test_conffiles.cpp
index ef63a7a1f947e6dac1226945a79c6129740f0466..5936ad36552456c5bbbdefb304e80596554405ed 100644 (file)
@@ -64,7 +64,7 @@ namespace tut
         {
             std::ofstream f("/tmp/test.cf");
 
-            ensure("Correct construction (part 3)", f);
+            ensure("Correct construction (part 3)", static_cast<bool>(f));
 
             f << "\n"
               << "a=a-string# a string\n"