Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork938
Commitc09ac1a
committed
Test InvalidGitRepositoryError in repo subdir
A Repo object can of course be constructed from a path to adirectory that is the root of an existing repository, and raisesInvalidGitRepositoryError on a directory that is outside of anyrepository. Tests intended to show both conditions already exist.This adds a test to verify that InvalidGitRepositoryError is alsoraised when an attempt is made to construct a Repo object from apath to a directory that is not the root of a repository but thatis known to be located inside an existing git repository.1 parent9277ff5 commitc09ac1a
1 file changed
+12
-1
lines changedLines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 |
| |
81 | 84 |
| |
82 | 85 |
| |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
83 | 94 |
| |
84 | 95 |
| |
85 | 96 |
| |
| |||
122 | 133 |
| |
123 | 134 |
| |
124 | 135 |
| |
125 |
| - | |
| 136 | + | |
126 | 137 |
| |
127 | 138 |
| |
128 | 139 |
| |
|
0 commit comments
Comments
(0)