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 gap-system#2809
  • Loading branch information
wilfwilson authored and ssiccha committed Mar 27, 2019
1 parent 07653b9 commit 15c3ba1
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 15c3ba1

Please sign in to comment.