Skip to content

Commit ba6a62d

Browse files
committed
Test value of r
1 parent 437fec2 commit ba6a62d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/github_issue_267.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ void test(T value, int precision, const char* correct_result)
1313
char buffer[64] {};
1414
const auto r = boost::charconv::to_chars(buffer, buffer + sizeof(buffer), value, boost::charconv::chars_format::fixed, precision);
1515
BOOST_TEST_CSTR_EQ(buffer, correct_result);
16+
BOOST_TEST(r);
1617
}
1718

1819
int main()

0 commit comments

Comments
 (0)