diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2018-11-13 01:13:51 +0100 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2018-11-13 01:13:51 +0100 |
commit | 8b296fd3ad3ab3a03184fe4d9ff680ee9ce43fc4 (patch) | |
tree | 32e38e2411921edea3ad7b878ec29d368dd1c4db | |
parent | c345797f974819238440082ea6b1a3d3ddc543e3 (diff) |
fix typos
-rw-r--r-- | src/library/searchquery.cpp | 2 | ||||
-rw-r--r-- | src/test/searchqueryparsertest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/library/searchquery.cpp b/src/library/searchquery.cpp index be35d22ae9..d6ffbd3644 100644 --- a/src/library/searchquery.cpp +++ b/src/library/searchquery.cpp @@ -172,7 +172,7 @@ QString TextFilterNode::toSql() const { QString argument = m_argument; if (argument.size() > 0) { if (argument[argument.size() - 1].isSpace()) { - // LIKE eats a tailing space. This can be avoided by adding a '_' + // LIKE eats a trailing space. This can be avoided by adding a '_' // as a delimiter that matches any following character. argument.append('_'); } diff --git a/src/test/searchqueryparsertest.cpp b/src/test/searchqueryparsertest.cpp index b0d6b3d453..f5a3d024c3 100644 --- a/src/test/searchqueryparsertest.cpp +++ b/src/test/searchqueryparsertest.cpp @@ -303,7 +303,7 @@ TEST_F(SearchQueryParserTest, TextFilterDecoration) { qPrintable(pQuery->toSql())); } -TEST_F(SearchQueryParserTest, TextFilterTailingSpace) { +TEST_F(SearchQueryParserTest, TextFilterTrailingSpace) { QStringList searchColumns; searchColumns << "artist" << "album"; |