Skip to content

Commit

Permalink
test: tweak tst/testbugfix/2005-08-29-t00318.tst
Browse files Browse the repository at this point in the history
This test previously produced diffs if the ctbllib package
was not available to be loaded. This commit avoids this
problem by first checking whether the package is available.

Fixes #2809
  • Loading branch information
wilfwilson authored and fingolfin committed Sep 28, 2018
1 parent d11870b commit da66cbc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tst/testbugfix/2005-08-29-t00318.tst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2005/08/29 (TB)
gap> LoadPackage("ctbllib", "=0.0",false);
gap> x := TestPackageAvailability("ctbllib");;
gap> if x <> fail then
> x := LoadPackage("ctbllib", "=0.0",false);
> fi;
gap> x;
fail

0 comments on commit da66cbc

Please sign in to comment.