-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#410: added duration to latest commit for a remote branch to mob status #413
Conversation
yes and: see my commit |
|
||
func TestStatusDetectsWipBranches(t *testing.T) { | ||
output, configuration := setup(t) | ||
start(configuration) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to adjust the test that it does not depend on the empty commit when doing mob start. As I would like to remove this empty commit again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, great!
status_test.go
Outdated
git("checkout", "master") | ||
time.Sleep(2 * time.Second) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ouch, do we really need that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so. On my machine i ran into the problem that it was exactly one second ago
and the test failed. One other option would be to just assert ago
or second
what do you think?
closes #410
the result of the change can be seen here.
if there is no remote wip branch: