X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Ftestcase.g;h=9172f5fca327b67a9aee98eab14285b06208c78c;hp=34584c91c3fec799fb966e1a973788d66432296e;hb=df32ec862cecf0851a7f7342582b5786d04a4771;hpb=475743c156fc5b02e79cd787b3176f5fa1877f83 diff --git a/tests/testcase.g b/tests/testcase.g index 34584c9..9172f5f 100644 --- a/tests/testcase.g +++ b/tests/testcase.g @@ -1,9 +1,9 @@ ts = ts:: !ws tests !ws tests = test */ ws ws = w* -test = ^"testcase" "{" input output +/ ws Grammar "}" /ws - | ^"testcase" "{" input Grammar "}" /ws - | ^"tibcase" "{" input output +/ ws Grammar "}" /ws - | ^"tibcase" "{" input Grammar "}" /ws +test = ^"testcase" "{" input output +/ ws (grammar:Grammar) "}" /ws + | ^"testcase" "{" input (grammar:Grammar) "}" /ws + | ^"tibcase" "{" input output +/ ws (grammar:Grammar) "}" /ws + | ^"tibcase" "{" input (grammar:Grammar) "}" /ws output = ^"output" Quoted ";" /ws input = "input" Quoted ";" /ws