mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-10-19 17:09:25 +00:00
Move split_tags to common lib.
This commit is contained in:
parent
1192ce7c18
commit
5832ca3374
7 changed files with 10 additions and 11 deletions
|
@ -4,7 +4,6 @@ add_executable(${PROJECT_NAME}
|
|||
${CMAKE_SOURCE_DIR}/src/main/damerau_levenshtein.c
|
||||
${CMAKE_SOURCE_DIR}/src/main/utf8_ops.c
|
||||
test_damerau_levenshtein.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/tag/split_tags.cpp
|
||||
test_tag_splitting.cpp
|
||||
)
|
||||
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
#include <gtest/gtest.h>
|
||||
#include <sstream>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include "tag/split_tags.hpp"
|
||||
#include "dindexer-common/split_tags.hpp"
|
||||
|
||||
TEST(cli_main, split_tags) {
|
||||
using din::split_tags;
|
||||
using dinlib::split_tags;
|
||||
|
||||
{
|
||||
const std::string test_tags = "tag1,tag2";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue