diff --git a/test/test2.cc b/test/test2.cc
index 2a68792..a054975 100644
--- a/test/test2.cc
+++ b/test/test2.cc
@@ -133,6 +133,8 @@ TEST_CASE("Precedence climbing", "[precedence]")
 		T(S)             <-  < S > _
 	)");
 
+    parser.enable_packrat_parsing();
+
     // Setup actions
     parser["EXPRESSION"] = [](const SemanticValues& sv) -> long {
         auto result = any_cast<long>(sv[0]);
@@ -189,6 +191,8 @@ TEST_CASE("Precedence climbing with macro", "[precedence]")
         %whitespace            <-  [ \t]*
 	)");
 
+    parser.enable_packrat_parsing();
+
     bool ret = parser;
     REQUIRE(ret == true);