Skip to content

Commit

Permalink
WIP: Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jun 6, 2018
1 parent 35ffcec commit 317ac5f
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tst/test-error/bad-add.g.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function( ) ... end
gap> f();
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `+' on 2 arguments at GAPROOT/lib/methsel2.g:250 called from
1 + "abc" at *stdin*:3 called from
return 1 + "abc"; at *stdin*:3 called from
<function "f">( <arguments> )
called from read-eval loop at *stdin*:5
type 'quit;' to quit to outer loop
Expand Down
2 changes: 1 addition & 1 deletion tst/test-error/bad-array-double-1.g.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function( ) ... end
gap> f();
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `[]' on 3 arguments at GAPROOT/lib/methsel2.g:250 called from
<corrupted statement> called from
return "abc"[1, 1]; at *stdin*:3 called from
<function "f">( <arguments> )
called from read-eval loop at *stdin*:5
type 'quit;' to quit to outer loop
Expand Down
2 changes: 1 addition & 1 deletion tst/test-error/bad-array-int-0.g.out
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function( ) ... end
gap> f();
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `[]' on 2 arguments at GAPROOT/lib/methsel2.g:250 called from
l[0] at *stdin*:5 called from
return l[0]; at *stdin*:5 called from
<function "f">( <arguments> )
called from read-eval loop at *stdin*:7
type 'quit;' to quit to outer loop
Expand Down
2 changes: 1 addition & 1 deletion tst/test-error/bad-array-string.g.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function( ) ... end
gap> f();
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `[]' on 2 arguments at GAPROOT/lib/methsel2.g:250 called from
1["abc"] at *stdin*:3 called from
return 1["abc"]; at *stdin*:3 called from
<function "f">( <arguments> )
called from read-eval loop at *stdin*:5
type 'quit;' to quit to outer loop
Expand Down
2 changes: 1 addition & 1 deletion tst/test-error/bad-minus.g.out
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `AdditiveInverseMutable' on 1 arguments at GAPROOT/lib/methsel2.g:250 called from
AINV_MUT( elm ) at GAPROOT/lib/arith.gi:200 called from
AdditiveInverseAttr( elm ) at GAPROOT/lib/arith.gi:213 called from
1 - "abc" at *stdin*:3 called from
return 1 - "abc"; at *stdin*:3 called from
<function "f">( <arguments> )
called from read-eval loop at *stdin*:5
type 'quit;' to quit to outer loop
Expand Down
8 changes: 4 additions & 4 deletions tst/test-error/debug-var.g.out
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Syntax warning: Unbound global variable in *errin*:6
unbound_global;
^
Error, Variable: 'unbound_global' must have a value in
<corrupted statement> called from
Error( "breakpoint" ); at *stdin*:9 called from
g( 10 ) at *stdin*:12 called from
<function "f">( <arguments> )
called from read-eval loop at *errin*:6
Expand All @@ -47,7 +47,7 @@ brk> IsBound(y);
true
brk> unbound_higher;
Error, Variable: 'unbound_higher' must have an assigned value in
<corrupted statement> called from
Error( "breakpoint" ); at *stdin*:9 called from
g( 10 ) at *stdin*:12 called from
<function "f">( <arguments> )
called from read-eval loop at *errin*:12
Expand All @@ -63,7 +63,7 @@ brk> IsBound(z);
true
brk> unbound_local;
Error, Variable: 'unbound_local' must have an assigned value in
<corrupted statement> called from
Error( "breakpoint" ); at *stdin*:9 called from
g( 10 ) at *stdin*:12 called from
<function "f">( <arguments> )
called from read-eval loop at *errin*:17
Expand Down Expand Up @@ -109,7 +109,7 @@ brk_2> IsBound(y);
true
brk_2> unbound_higher;
Error, Variable: <debug-variable-64-4> must have a value in
<corrupted statement> called from
Error( "foobar" ); at *stdin*:20 called from
Error( "breakpoint" ); at *stdin*:9 called from
g( 10 ) at *stdin*:12 called from
<function "f">( <arguments> )
Expand Down
2 changes: 1 addition & 1 deletion tst/test-error/method-not-found.g.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ gap> # test returning from a 'method not found' error
gap> f:=a->a+a;; f(());
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `+' on 2 arguments at GAPROOT/lib/methsel2.g:250 called from
a + a at *stdin*:3 called from
return a + a; at *stdin*:3 called from
<function "f">( <arguments> )
called from read-eval loop at *stdin*:3
type 'quit;' to quit to outer loop
Expand Down

0 comments on commit 317ac5f

Please sign in to comment.