Created
May 29, 2011 19:57
-
-
Save wchristian/998087 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\Gitalist>perl -Ilib t\02git_CollectionOfRepositories_FromDirectoryRecursive.t | |
ok 1 - use Gitalist::Git::CollectionOfRepositories::FromDirectoryRecursive; | |
ok 2 - The object isa Gitalist::Git::CollectionOfRepositories::FromDirectoryRecursive | |
ok 3 - repo->repo_dir is correct | |
ok 4 - ->repositories is an array with the correct number of members | |
ok 5 - The object isa Gitalist::Git::Repository | |
ok 6 - Repositories are correctly loaded | |
Can't call method "path" on an undefined value at | |
lib/Gitalist/Git/CollectionOfRepositories.pm line 23 (#1) | |
(F) You used the syntax of a method call, but the slot filled by the | |
object reference or package name contains an undefined value. Something | |
like this will reproduce the error: | |
$BADREF = undef; | |
process $BADREF 1,2,3; | |
$BADREF->process(1,2,3); | |
ok 7 - throws exception for invalid repository | |
ok 8 - throws exception for no repository | |
ok 9 - Relative directory not contained within repo_dir | |
ok 10 - The object isa Gitalist::Git::Repository | |
Can't call method "path" on an undefined value at lib/Gitalist/Git/CollectionOfRepositories.pm line 23. | |
1..10 | |
# Looks like your test exited with 255 just after 10. | |
D:\Gitalist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment