From 4e3084739e301a1412f59a1991d64b502e159c17 Mon Sep 17 00:00:00 2001
From: "Sven M. Hallberg" <pesco@khjk.org>
Date: Thu, 10 Jan 2013 01:09:04 +0100
Subject: [PATCH] fix expected value of first leftrec test case

---
 src/t_parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/t_parser.c b/src/t_parser.c
index 6bbc409d..daca1a3d 100644
--- a/src/t_parser.c
+++ b/src/t_parser.c
@@ -371,7 +371,7 @@ static void test_leftrec(void) {
   HParser *lr_ = h_indirect();
   h_bind_indirect(lr_, h_choice(h_sequence(lr_, a_, NULL), a_, NULL));
 
-  g_check_parse_ok(lr_, "a", 1, "(u0x61)");
+  g_check_parse_ok(lr_, "a", 1, "u0x61");
   g_check_parse_ok(lr_, "aa", 2, "(u0x61 u0x61)");
   g_check_parse_ok(lr_, "aaa", 3, "((u0x61 u0x61) u0x61)");
 }
-- 
GitLab