diff --git a/tests/fixedwidthtest.cpp b/tests/fixedwidthtest.cpp index e7dabe7..0eebd24 100644 --- a/tests/fixedwidthtest.cpp +++ b/tests/fixedwidthtest.cpp @@ -14,8 +14,8 @@ // If no characters match the pattern, value must be left unmodified // (see https://github.com/fastfloat/fast_float/issues/424). template bool check_invalid_input_preserves_value() { - std::vector const invalid_inputs{"x", "", "-", ".", "e1", - "-x", "na", "+"}; + std::vector const invalid_inputs{"x", "", "-", ".", + "e1", "-x", "na", "+"}; for (auto const &f : invalid_inputs) { T result = T(42); auto answer = fast_float::from_chars(f.data(), f.data() + f.size(), result);