mirror of
https://github.com/red0124/ssp.git
synced 2025-01-22 20:55:18 +01:00
55d0a4e598
* Bugfix/odr violations (#47) * Make common non-member functions inline, remove unreachable line from get_line_buffer * [skip ci] Fix namespace comments * Resolve clang-tidy warnings (#48) * Resolve clang-tidy warnings, update single_header_generator.py * Update single header test, resolve additional clang-tidy warnings * Add header and raw_header methods, update header usage methods error handling, write new and update existing unit tests * Update parser error messages, fix parser tests * Add [[nodiscard]] where fitting, update unit tests (#49) * Add const where fitting, make splitter class members private, add #pragma once to ssp.hpp * Modify header parsing for empty headers, update old and add new tests for header parsing * Enable the parser to accept a header with one empty field, update unit tests * Fix test CMakeLists.txt typo
16 lines
470 B
C++
16 lines
470 B
C++
#define SEGMENT_NAME "segment5"
|
|
#include "test_parser2.hpp"
|
|
|
|
TEST_CASE("parser test various cases version 2 segment 5") {
|
|
#ifdef CMAKE_GITHUB_CI
|
|
using quote = ss::quote<'"'>;
|
|
using escape = ss::escape<'\\'>;
|
|
using multiline = ss::multiline;
|
|
using trimr = ss::trim_right<' '>;
|
|
using triml = ss::trim_left<' '>;
|
|
|
|
test_option_combinations<escape, quote, multiline, triml>();
|
|
test_option_combinations<escape, quote, multiline, trimr>();
|
|
#endif
|
|
}
|