Mislav Marohnić
a710893fc1
Rename to cli/cli
2020-01-24 16:08:52 +01:00
Mislav Marohnić
30b4eab8e0
Use ghrepo.FullName in tests
2020-01-23 14:24:22 +01:00
Mislav Marohnić
f10b8d8095
Add unit tests for remotes-to-repos resolver
2020-01-23 14:05:15 +01:00
Mislav Marohnić
6c49614db7
Fix tests
2020-01-21 22:56:15 +01:00
Corey Johnson
f2afbbce74
Fix test output
2019-12-20 12:07:53 -08:00
Corey Johnson
58761a8dfc
Fix tests
2019-12-20 12:04:23 -08:00
Corey Johnson
bcf1f98702
Do a better job of reverting test changes
2019-12-20 11:32:27 -08:00
Corey Johnson
d025d2d4f3
Revert test changes
2019-12-20 11:24:03 -08:00
Mislav Marohnić
2c1fc56967
Update output expectations
2019-12-17 13:01:45 +01:00
Mislav Marohnić
7b7c985e79
Merge remote-tracking branch 'origin/master' into appropriate-context-and-feedback
2019-12-17 13:00:10 +01:00
Corey Johnson
91267a65fa
Fix tests
2019-12-16 13:18:16 -08:00
Mislav Marohnić
48aeff1ca7
Assert stdout separarely from stderr in command tests
...
This stubs stderr separately from stdout in command tests (before those
streams were combined) and improves test assertions around output.
Additionally, no longer use the `cmd.Print*()` family of Cobra functions
because their name sounds like the text will go to stdout, but they
write to stderr instead. Use the more explicit `cmd.ErrOrStderr()` as
output destination instead.
2019-12-16 15:46:42 +01:00
Mislav Marohnić
5ac4b1e6d6
Implement pr create --web
2019-12-04 16:26:40 +01:00
Mislav Marohnić
2621bccc44
Use RunCommand in tests to ensure flags reset between runs
2019-12-03 17:26:28 +01:00
Mislav Marohnić
bb87f4a2fb
Add pr create test for git clean state
2019-11-13 19:25:02 +01:00
Mislav Marohnić
6aa0c071d6
Simplify tests that use StubExecCommand
2019-11-11 17:04:26 +01:00
Mislav Marohnić
65054fdc6e
Complete pr create test
2019-11-11 15:01:41 +01:00
nate smith
df3e3bb4af
minor fix
2019-11-02 12:55:17 -05:00
nate smith
c12bdc2731
WIP resuming pr create test work
2019-11-01 17:19:01 -05:00