Skip to content

Commit

Permalink
avoid the local variable testsize
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBreuer committed Jan 4, 2024
1 parent 65df0a2 commit 6008cca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/test.gi
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ end);
InstallGlobalFunction(RunTests, function(tests, inopts, fnam)
local opts, breakOnError, alwaysPrintTracebackOnError, inp, outp,
pos, cmp, times, ttime, nrlines, s, res, fres, t, f, i,
localbag, failures, startsize, testsize, size;
localbag, failures, startsize, size;
# don't enter break loop in case of error during test
opts := rec( breakOnError := false, alwaysPrintTracebackOnError:= false,
showProgress := "some", localdef := false );
Expand All @@ -183,8 +183,7 @@ InstallGlobalFunction(RunTests, function(tests, inopts, fnam)

# now start the work
startsize := SizeScreen();
testsize := [opts.width, startsize[2]];
SizeScreen(testsize);
SizeScreen([opts.width, startsize[2]]);

# we collect outputs and add them to 'tests.cmp'
# also collect timings and add them to 'tests.times'
Expand Down

0 comments on commit 6008cca

Please sign in to comment.