Apply minor changes to tests

This commit is contained in:
ado
2023-08-05 12:05:17 +02:00
parent a7ea9e42e5
commit 2b132bc33a
5 changed files with 15 additions and 9 deletions

View File

@@ -25,7 +25,6 @@ private:
constexpr static auto throw_on_error = setup<Options...>::throw_on_error;
constexpr static auto is_const_line = !quote::enabled && !escape::enabled;
// TODO make error_type none if throw_on_error
using error_type = std::conditional_t<string_error, std::string, bool>;
public:
@@ -149,7 +148,6 @@ private:
}
}
// TODO rename with handle error
void handle_error_unterminated_escape() {
constexpr static auto error_msg =
"unterminated escape at the end of the line";