update splitter tests for meson

This commit is contained in:
ado 2021-01-21 02:00:26 +01:00
parent bea7775118
commit f0a01f65d3

View File

@ -1,8 +1,13 @@
#include <iostream>
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "../include/ss/splitter.hpp"
#include "doctest.h"
#include <algorithm> #include <algorithm>
#include <cstring>
#include <iostream>
#include <ss/splitter.hpp>
#ifdef CMAKE_GITHUB_CI
#include <doctest/doctest.h>
#else
#include <doctest.h>
#endif
TEST_CASE("testing splitter with escaping") { TEST_CASE("testing splitter with escaping") {
std::vector<std::string> values{"10", "he\\\"llo", std::vector<std::string> values{"10", "he\\\"llo",