Commit 0c6911b
committed
t1900: add tests for git repo structure subcommand
The t1900 test file covers git repo info thoroughly but has
no tests for the git repo structure subcommand. Add basic
tests to verify that:
- git repo structure succeeds and produces no stderr output
- git repo structure --format=lines outputs expected keys
- git repo structure --format=nul succeeds
- git repo structure rejects an unknown format
Signed-off-by: Mansi Singh <mansimaanu8627@gmail.com>1 parent d181b93 commit 0c6911b
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
152 | 174 | | |
0 commit comments