Skip to content

Commit

Permalink
Fix test breakage in S22-package-format
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Oct 27, 2014
1 parent a07bdab commit cb4a1b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/CompUnitRepo/Locally.pm
Expand Up @@ -14,11 +14,11 @@ role CompUnitRepo::Locally {
self.bless(:$IO,:lock(Lock.new),:WHICH(self.^name ~ '|' ~ $abspath));
}

method Str(CompUnitRepo::Locally:D:) { $!IO.abspath }
method gist(CompUnitRepo::Locally:D:) {
multi method Str(CompUnitRepo::Locally:D:) { $!IO.abspath }
multi method gist(CompUnitRepo::Locally:D:) {
"{self.short-id}:{$!IO.abspath}"
}
method perl(CompUnitRepo::Locally:D:) {
multi method perl(CompUnitRepo::Locally:D:) {
"CompUnitRepo.new('{self.short-id}:{$!IO.abspath}')"
}

Expand Down

0 comments on commit cb4a1b1

Please sign in to comment.