Skip to content

Commit

Permalink
Fix some tests with messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mtorpey committed Sep 9, 2024
1 parent 963728e commit 7b0b68d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gap/distro.gi
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function(name, args...)
Info(InfoPackageManager, 2, "The newest version of package \"", name, "\" is already installed");
return PKGMAN_CheckPackage(current.InstallationPath);
elif CompareVersionNumbers(newest.Version, current.Version) then
q := "Package '{}' version '{}' is installed, but '{}' is available. Install it?";
q := "Package \"{}\" version '{}' is installed, but {} is available. Install it?";
q := StringFormatted(q, name, current.Version, newest.Version);
if interactive and PKGMAN_AskYesNoQuestion(q : default := false) then
return UpdatePackage(name, interactive);
Expand Down
3 changes: 2 additions & 1 deletion tst/compile.tst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ gap> dir := PackageInfo("example")[1].InstallationPath;;
gap> RemoveFile(Filename(Directory(dir), "src/hello.c"));
true
gap> PKGMAN_CompileDir(dir);
#I Compilation failed for package 'Example' (package may still be usable)
#I Compilation failed for package 'Example'
#I (package may still be usable)
false

# Missing BuildPackages script
Expand Down

0 comments on commit 7b0b68d

Please sign in to comment.