mirror of
https://github.com/red0124/ssp.git
synced 2026-01-29 22:29:54 +01:00
Apply minor changes to tests
This commit is contained in:
@@ -125,7 +125,14 @@ void test_various_cases() {
|
||||
ss::parser<ss::string_error> p2{f.name, ","};
|
||||
std::vector<X> i2;
|
||||
|
||||
auto move_rotate = [&] {
|
||||
auto p1 = std::move(p);
|
||||
p0 = std::move(p1);
|
||||
p = std::move(p0);
|
||||
};
|
||||
|
||||
while (!p.eof()) {
|
||||
move_rotate();
|
||||
auto a = p.template get_next<int, double, std::string>();
|
||||
i.emplace_back(ss::to_object<X>(a));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user