git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Target-specific, compiler-aware warnings.
[stg.git]
/
tests
/
test_conffiles.cpp
diff --git
a/tests/test_conffiles.cpp
b/tests/test_conffiles.cpp
index ef63a7a1f947e6dac1226945a79c6129740f0466..5936ad36552456c5bbbdefb304e80596554405ed 100644
(file)
--- a/
tests/test_conffiles.cpp
+++ b/
tests/test_conffiles.cpp
@@
-64,7
+64,7
@@
namespace tut
{
std::ofstream f("/tmp/test.cf");
{
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"
f << "\n"
<< "a=a-string# a string\n"