summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/flag_set.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/flag_set.cc b/tests/flag_set.cc
index 125d8a81..3abd505d 100644
--- a/tests/flag_set.cc
+++ b/tests/flag_set.cc
@@ -45,7 +45,7 @@ go_bandit([]() {
// Setup
fs_t fs = fs_t();
// Exercise
- bool result = fs;
+ auto result = bool(fs);
// Verify
AssertThat(result, Equals(false));
});
@@ -54,7 +54,7 @@ go_bandit([]() {
// Setup
fs_t fs = fs_t::make(1, 3);
// Exercise
- bool result = fs;
+ auto result = bool(fs);
// Verify
AssertThat(result, Equals(true));
});