summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
commit145ea9e004c6014c790abb8d7b81f7f1547af3b9 (patch)
treef11869d7682a9e97a335b2baeba7458db6ff4473 /tests
parentca3fab4c43e155494e7eddfede551f3ced7ddad0 (diff)
Change flag_set bool conversion to 'explicit'
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));
});