| File: | t/git-version.t |
| Coverage: | 88.2% |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | #!/usr/bin/env perl | ||||||
| 2 | 1 1 | 1886 2 | use 5.12.1; | ||||
| 3 | |||||||
| 4 | 1 1 1 | 189 20218 3 | use Git::Repository; | ||||
| 5 | 1 1 1 | 223 67672 4 | use Test2::V0; | ||||
| 6 | |||||||
| 7 | 1 | 47216 | unless (Git::Repository->version_ge('1.7.2')) { | ||||
| 8 | 0 | 0 | diag "With git versions less than 1.7.2, diffs will not work.\n"; | ||||
| 9 | } | ||||||
| 10 | |||||||
| 11 | 1 | 23792 | pass; | ||||
| 12 | 1 | 2951 | done_testing; | ||||