|
d0752a714d
|
parse_test: add tests for stdin enabled arg
Let's document how stdin enabled arguments currently
work by adding some tests.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
|
2015-05-02 23:02:57 +02:00 |
|
|
3e4a06945f
|
parse_test: fix and test sameWords()
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
|
2015-05-02 23:02:57 +02:00 |
|
|
2a5b2f2f4a
|
parse_test: move helper functions
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
|
2015-05-02 23:02:57 +02:00 |
|
|
f168539030
|
Improve command line parsing
|
2015-04-27 17:19:38 +00:00 |
|
|
bf22aeec0a
|
Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
|
2015-03-31 12:52:25 -07:00 |
|
|
922f84878c
|
commands/cli: Added argument parse tests
|
2014-11-19 18:30:06 -08:00 |
|
|
ae6f00d766
|
commands: Fixed tests
|
2014-11-19 00:36:42 -08:00 |
|
|
6302356e15
|
commands: Fixed tests
|
2014-11-04 02:04:46 -08:00 |
|
|
184c25430b
|
go-vet friendly codebase
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
|
2014-10-25 03:46:39 -07:00 |
|
|
dd81bf630f
|
commands: Fixed tests
|
2014-10-21 18:07:49 -07:00 |
|
|
4986600e54
|
parsePath no err
|
2014-10-20 08:00:28 -07:00 |
|
|
7673ce6f65
|
fmt, lint, + vet commands/
|
2014-10-20 07:53:14 -07:00 |
|
|
a9fa767b09
|
commands/cli: Added test for detecting duplicate options
|
2014-10-20 07:04:55 -07:00 |
|
|
b48b12e425
|
commands/cli: Fixed test for new parsing
|
2014-10-20 07:04:55 -07:00 |
|
|
86bc450b20
|
commands/cli: Pass option definitions as an argument to parseOptions
|
2014-10-20 07:04:53 -07:00 |
|
|
97b8719075
|
commands/cli: Removed parser string handling since the go runtime handles it for us automatically
|
2014-10-20 07:04:53 -07:00 |
|
|
5d9fa93c85
|
commands/cli: Added test for single-dash option value
|
2014-10-20 07:04:53 -07:00 |
|
|
08885c0ced
|
commands/cli: Fixed tests for refactor
|
2014-10-20 07:04:52 -07:00 |
|
|
66b0727de6
|
commands/cli: Renamed parse functions to parse*
|
2014-10-20 07:04:52 -07:00 |
|
|
f437230d88
|
commands/cli: Added path/args test
|
2014-10-20 07:04:52 -07:00 |
|
|
b3eecf4f64
|
commands/cli: Added simple option parser test
|
2014-10-20 07:04:52 -07:00 |
|