]> git.saurik.com Git - apt.git/blobdiff - test/libapt/commandline_test.cc
support 'apt build-dep .' (aka: without /)
[apt.git] / test / libapt / commandline_test.cc
index 7783c47a4f800e2d6509bbfaf0c6a83e27d2b182..97725c8549cb18dd30d959a8b3c7b3a9e9f81c24 100644 (file)
@@ -17,10 +17,6 @@ class CLT: public CommandLine {
       }
 };
 
-bool ShowHelp(CommandLine &) {return false;}
-std::vector<aptDispatchWithHelp> GetCommands() {return {};}
-
-
 TEST(CommandLineTest,SaveInConfig)
 {
 #define APT_EXPECT_CMD(x, ...) { const char * const argv[] = { __VA_ARGS__ }; EXPECT_EQ(x, CLT::AsString(argv, sizeof(argv)/sizeof(argv[0]))); }
@@ -166,7 +162,7 @@ TEST(CommandLineTest, BoolParsing)
 
 }
 
-bool DoVoid(CommandLine &) { return false; }
+static bool DoVoid(CommandLine &) { return false; }
 
 TEST(CommandLineTest,GetCommand)
 {