summaryrefslogtreecommitdiff
path: root/test/libapt/fileutl_test.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-07 18:22:14 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-10 16:11:43 +0200
commit06c2b40b9b9094f4f6391bd1d17cfc3725313070 (patch)
tree08f853ea0f6cf803c9ef91dbb90de55814833ac1 /test/libapt/fileutl_test.cc
parent173fa882cf3396ab6d2a9be53c6ea23eda225a1d (diff)
CMake: Add unit tests
Add support for our GTest based unit tests. By default, CMake will look in /usr/src/gtest for the external GTest project, but this can be overriden by defining GTEST_ROOT when invoking cmake. Gbp-Dch: ignore
Diffstat (limited to 'test/libapt/fileutl_test.cc')
-rw-r--r--test/libapt/fileutl_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libapt/fileutl_test.cc b/test/libapt/fileutl_test.cc
index 0a299b51a..67bd850a1 100644
--- a/test/libapt/fileutl_test.cc
+++ b/test/libapt/fileutl_test.cc
@@ -216,7 +216,7 @@ TEST(FileUtlTest, Glob)
{
std::vector<std::string> files;
// normal match
- files = Glob("*akefile");
+ files = Glob("*MakeLists.txt");
EXPECT_EQ(1, files.size());
// not there