Switch from linenoise to replxx
Change-Id: Id3e04eca8dbd7e68cef080713296fef3fdc683c5
diff --git a/tests/command_completion.cpp b/tests/command_completion.cpp
index f3cc868..21410c8 100644
--- a/tests/command_completion.cpp
+++ b/tests/command_completion.cpp
@@ -32,13 +32,13 @@
SECTION("c")
{
input = "c";
- expected = {"d", "ommit", "reate"};
+ expected = {"cd", "commit", "create"};
}
SECTION("d")
{
input = "d";
- expected = {"elete", "iscard"};
+ expected = {"delete", "discard"};
}
SECTION("x")
@@ -51,13 +51,13 @@
{
input = "cd";
// TODO: depending on how Readline works, this will have to be changed to include a space
- expected = {""};
+ expected = {"cd"};
}
SECTION("create")
{
input = "create";
- expected = {""};
+ expected = {"create"};
}
REQUIRE(parser.completeCommand(input, errorStream) == expected);