diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-04 22:26:13 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-04 22:26:13 +0300 |
commit | 53a6076d05e264d6bed743032a63fd782e7caae9 (patch) | |
tree | 19da5e09fa387fdc2df4ffefd76c93410a3c7f44 /test/unit_tests/parser.cpp | |
parent | Travis: lint the config (diff) | |
download | math-server-53a6076d05e264d6bed743032a63fd782e7caae9.tar.gz math-server-53a6076d05e264d6bed743032a63fd782e7caae9.zip |
unit_tests: reorder code a little
Diffstat (limited to '')
-rw-r--r-- | test/unit_tests/parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit_tests/parser.cpp b/test/unit_tests/parser.cpp index 2e90992..655ba39 100644 --- a/test/unit_tests/parser.cpp +++ b/test/unit_tests/parser.cpp @@ -14,8 +14,6 @@ #include <string_view> #include <vector> -BOOST_AUTO_TEST_SUITE(parser_tests) - namespace bdata = boost::unit_test::data; using math::server::Parser; using math::server::ParserError; @@ -114,6 +112,8 @@ const std::vector<std::string> error_msg{ } // namespace exec::invalid } // namespace +BOOST_AUTO_TEST_SUITE(parser_tests) + BOOST_DATA_TEST_CASE(test_exec_valid, bdata::make(exec::valid::input) ^ exec::valid::expected, input, |