Fixed typos in unit test case.
This commit is contained in:
parent
2ae5cfbfa6
commit
2ef3ef24a1
@ -52,11 +52,11 @@ TEST_CASE("[completion] Rules are completed", "[completion]")
|
|||||||
{
|
{
|
||||||
input << ":- q.\n"
|
input << ":- q.\n"
|
||||||
":- s(5).\n"
|
":- s(5).\n"
|
||||||
"#false :- t\n"
|
"#false :- t.\n"
|
||||||
"#false :- v(5).";
|
"#false :- v(5).";
|
||||||
REQUIRE_NOTHROW(anthem::translate("input", input, context));
|
REQUIRE_NOTHROW(anthem::translate("input", input, context));
|
||||||
|
|
||||||
CHECK(output.str() == "not q\nnot s(5)\nnot t\nnot v(5)");
|
CHECK(output.str() == "not q\nnot s(5)\nnot t\nnot v(5)\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTION("facts")
|
SECTION("facts")
|
||||||
|
Loading…
Reference in New Issue
Block a user