Commit 106b089
committed
Fix root command test to work with new command structure
- Update TestRootCmd_Subcommands to use cmd.Name() instead of cmd.Use
- Remove assertion for help command as it may not appear during unit testing
- All tests now pass with the new positional argument structure1 parent 30c1c47 commit 106b089
1 file changed
+3
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 174 | + | |
| 175 | + | |
183 | 176 | | |
184 | 177 | | |
185 | 178 | | |
| |||
0 commit comments