Skip to content

Commit

Permalink
Fixup tests to honor changes in syntax trees
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasguts committed Mar 18, 2019
1 parent 67d1cbd commit ee33756
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions tst/testinstall/syntaxtree.tst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ gap> test_tree := function( f )
> if new_tree <> curr_tree then
> Error( "trees are not equal" );
> fi;
> end;
> end;;

# Just try compiling all functions we can find in the workspace
# to see nothing crashes.
Expand Down Expand Up @@ -276,7 +276,7 @@ rec(
type := "T_REFLVAR" ),
type := "T_PROCCALL_1ARGS" ),
opts := rec(
keyvalue := [ , rec(
keyvalue := [ rec(
key := "opt",
value := rec(
type := "T_TRUE_EXPR" ) ) ],
Expand All @@ -303,7 +303,7 @@ rec(
type := "T_REFLVAR" ),
type := "T_PROCCALL_1ARGS" ),
opts := rec(
keyvalue := [ , rec(
keyvalue := [ rec(
key := "opt",
value := rec(
type := "T_INTEXPR",
Expand Down Expand Up @@ -351,7 +351,7 @@ rec(
nloc := 0,
stats := rec(
statements := [ rec(
branches := [ , rec(
branches := [ rec(
body := rec(
statements := [ rec(
type := "T_RETURN_VOID" ), rec(
Expand Down Expand Up @@ -490,7 +490,7 @@ rec(
nloc := 0,
stats := rec(
statements := [ rec(
branches := [ , rec(
branches := [ rec(
body := rec(
type := "T_EMPTY" ),
condition := rec(
Expand All @@ -509,7 +509,7 @@ rec(
nloc := 0,
stats := rec(
statements := [ rec(
branches := [ ,, rec(
branches := [ rec(
body := rec(
type := "T_EMPTY" ),
condition := rec(
Expand All @@ -532,7 +532,7 @@ rec(
nloc := 0,
stats := rec(
statements := [ rec(
branches := [ ,, rec(
branches := [ rec(
body := rec(
type := "T_EMPTY" ),
condition := rec(
Expand All @@ -556,7 +556,7 @@ rec(
nloc := 0,
stats := rec(
statements := [ rec(
branches := [ ,,, rec(
branches := [ rec(
body := rec(
type := "T_EMPTY" ),
condition := rec(
Expand Down Expand Up @@ -584,7 +584,7 @@ rec(
nloc := 0,
stats := rec(
statements := [ rec(
branches := [ ,,,, rec(
branches := [ rec(
body := rec(
type := "T_EMPTY" ),
condition := rec(
Expand Down Expand Up @@ -1745,7 +1745,7 @@ rec(
true

# T_INFO
gap> testit(function(x) Info(InfoWarning, "test"); end);
gap> testit(function(x) Info( 1, "test"); end);
rec(
nams := [ "x" ],
narg := 1,
Expand All @@ -1757,8 +1757,8 @@ rec(
type := "T_STRING_EXPR",
value := "test" ),
sel := rec(
gvar := 2527,
type := "T_REF_GVAR" ),
type := "T_INTEXPR",
value := 1 ),
type := "T_INFO" ), rec(
type := "T_RETURN_VOID" ) ],
type := "T_SEQ_STAT2" ),
Expand Down Expand Up @@ -2127,7 +2127,7 @@ rec(
type := "T_REFLVAR" ),
type := "T_FUNCCALL_1ARGS" ),
opts := rec(
keyvalue := [ , rec(
keyvalue := [ rec(
key := "opt",
value := rec(
type := "T_TRUE_EXPR" ) ) ],
Expand Down Expand Up @@ -2155,7 +2155,7 @@ rec(
type := "T_REFLVAR" ),
type := "T_FUNCCALL_1ARGS" ),
opts := rec(
keyvalue := [ , rec(
keyvalue := [ rec(
key := "opt",
value := rec(
type := "T_INTEXPR",
Expand Down Expand Up @@ -2770,7 +2770,7 @@ rec(
stats := rec(
statements := [ rec(
obj := rec(
keyvalue := [ , rec(
keyvalue := [ rec(
key := "orbit",
value := rec(
type := "T_INTEXPR",
Expand Down

0 comments on commit ee33756

Please sign in to comment.