Skip to content

Commit

Permalink
Fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
evansmal committed Aug 30, 2023
1 parent 33035b0 commit 0248173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ TEST_CASE("Generate and use collection", "[Generate]")
const auto result = collection.Get("ZeroThenOne")("01");
REQUIRE(UnwrapSuccess(result).remainder.empty());
REQUIRE(UnwrapSuccess(result).node.size() == 1);
REQUIRE(UnwrapNonTerminal(UnwrapSuccess(result).node[0]).type == "ZeroThenOne");
}
}
}
2 changes: 1 addition & 1 deletion tests/helpers.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "helper.hpp"
#include "helpers.hpp"

auto UnwrapSuccess(const Result &result) -> Success
{
Expand Down

0 comments on commit 0248173

Please sign in to comment.