-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Improve parse_test.go #1193
Improve parse_test.go #1193
Conversation
License: MIT Signed-off-by: Christian Couder <[email protected]>
License: MIT Signed-off-by: Christian Couder <[email protected]>
Let's document how stdin enabled arguments currently work by adding some tests. License: MIT Signed-off-by: Christian Couder <[email protected]>
Now also check that we get the right arguments from the parsing. License: MIT Signed-off-by: Christian Couder <[email protected]>
License: MIT Signed-off-by: Christian Couder <[email protected]>
License: MIT Signed-off-by: Christian Couder <[email protected]>
License: MIT Signed-off-by: Christian Couder <[email protected]>
One of the test failure is:
The other one is:
|
@whyrusleeping whatever the reason, iptb keeps failing :( -- should we disable it until we have fixed it? (the only other test that fails this (or more) frequently atm is the daemon teardown bug which i haven't disabled because... that would disable most of sharness) |
@chriscool sorry, those errors are unrelated. :( does anybody know why travis fails so often with
|
this LGTM. anyone looking at the cli want to comment? |
@jbenet i'm pretty sure the iptb test failures are caused by the daemon teardown bug (or at least, they have the same cause) |
this LGTM too! |
This improves go tests in parse_test.go so that it is easier to write more tests and tests are checking more things.
This will help if we want to fix issue #1141 (ipfs cat "multihash too short" error when using stdin).