Skip to content

Commit

Permalink
[FIX] Warning on Windows due to int2bool conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
cpockrandt authored and h-2 committed Dec 23, 2016
1 parent 75beba3 commit 4b35174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/arg_parse/test_arg_parse.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ SEQAN_DEFINE_TEST(test_boolean_argument_on)

bool booleanValue = 0;
SEQAN_ASSERT(getOptionValue(booleanValue, parser, "mybool"));
SEQAN_ASSERT_EQ(booleanValue, 1);
SEQAN_ASSERT_EQ(booleanValue, true);
}

SEQAN_DEFINE_TEST(test_boolean_argument_off)
Expand All @@ -236,7 +236,7 @@ SEQAN_DEFINE_TEST(test_boolean_argument_off)

bool booleanValue = 1;
SEQAN_ASSERT(getOptionValue(booleanValue, parser, "mybool"));
SEQAN_ASSERT_EQ(booleanValue, 0);
SEQAN_ASSERT_EQ(booleanValue, false);
}

SEQAN_DEFINE_TEST(test_int_short_argument)
Expand Down

0 comments on commit 4b35174

Please sign in to comment.