mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-16 16:28:09 +08:00
test: rm init_list ctor of char_either from test
This commit is contained in:
@@ -24,7 +24,7 @@ TEST_CASE("testing scanner: character_either")
|
|||||||
{
|
{
|
||||||
auto loc = toml::detail::make_temporary_location("\t \t01\0");
|
auto loc = toml::detail::make_temporary_location("\t \t01\0");
|
||||||
|
|
||||||
toml::detail::character_either wschar{'\t', ' '};
|
toml::detail::character_either wschar("\t ");
|
||||||
toml::detail::character_either digit01("01");
|
toml::detail::character_either digit01("01");
|
||||||
|
|
||||||
CHECK_UNARY( wschar .scan(loc).is_ok());
|
CHECK_UNARY( wschar .scan(loc).is_ok());
|
||||||
|
Reference in New Issue
Block a user