Skip to content

Commit

Permalink
Fix compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhsamuel committed Feb 17, 2019
1 parent 247efd4 commit 0e3382a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_number.cc
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ TEST(Number, scale_m) {
Number::Args args{3, 1};
args.scale = {1e6, "M"};
Number fmt(args);
ASSERT_EQ(7, fmt.get_width());
ASSERT_EQ(7u, fmt.get_width());
ASSERT_EQ(" 100.0M", fmt( 1E+8 ));
ASSERT_EQ(" 12.3M", fmt( 12345678 ));
ASSERT_EQ(" 12.3M", fmt( 12345678.0 ));
Expand Down

0 comments on commit 0e3382a

Please sign in to comment.