Homu
113ed0284e
Auto merge of #381 - sru:tests, r=sru
...
Tests
#166
Almost everything from run_tests.py except the suggestion...
2016-01-14 17:11:25 -08:00
Sung Rim Huh
32ef3264b9
tests: add checks for help and version flag
2016-01-13 09:03:27 -08:00
Sung Rim Huh
1c41d1bf43
tests(possible_values): add tests for possible values
2016-01-13 08:52:42 -08:00
Sung Rim Huh
e2c63cded7
tests(multiple_values): add positional multiple values
2016-01-13 08:28:24 -08:00
Sung Rim Huh
346450e6f1
tests(subcommands): add subcommand tests
2016-01-13 08:06:00 -08:00
Homu
34ea46969e
Auto merge of #378 - sru:readme-typo, r=kbknapp
...
docs(README.md): fix typo and make documentation conspicuous
Well, I thought scrolling through half page of readme to find link to documentation was counterintuitive.
And, of course, 10,000 ns is 10 ms.
2016-01-13 05:16:00 +09:00
Sung Rim Huh
07b9f61495
docs(README.md): fix typo and make documentation conspicuous
2016-01-12 06:59:11 -08:00
Homu
68d43311e0
Auto merge of #377 - sru:scopewide, r=kbknapp
...
Scopewide attributes
For `tests/yaml.rs`, it makes sense to use scope wide attribute, which applies to the whole file, because yaml test will not be tested without yaml feature.
For `examples/17_yaml.rs`, I moved the `use` statement inside so that seemingly random unused import warning doesn't pop up.
For `tests/unicode.rs`, well, I tried fiddling around with unicode with Windows without much success...
2016-01-12 15:16:55 +09:00
Sung Rim Huh
3936b28035
tests(yaml): use scope wide attribute
2016-01-11 21:13:14 -08:00
Sung Rim Huh
b2d29b0a68
tests(unicode): use scope wide attribute
2016-01-11 21:08:38 -08:00
Homu
b1264b7dbd
Auto merge of #375 - messense:messense-patch-1, r=Vinatorul
...
docs(App) Fix App.print_help documentation
2016-01-10 20:36:19 +09:00
messense
f0a0e4df50
docs(App) Fix App.print_help documentation
2016-01-10 16:44:24 +08:00
Homu
f2a8a86575
Auto merge of #374 - bradurani:patch-2, r=kbknapp
...
Fixes missing word in README
Fixes sentence with missing word in README.md
2016-01-10 17:24:33 +09:00
Brad Urani
9e08a92860
Fixes missing word in README
...
Fixes sentence with missing word in README.md
2016-01-08 00:08:38 -08:00
Homu
37006c3352
Auto merge of #371 - kbknapp:v1.5.5, r=kbknapp
...
chore: increases version
2016-01-04 20:19:10 +09:00
Homu
449025065b
Auto merge of #370 - kbknapp:issue-368, r=kbknapp
...
Issue 368
2016-01-04 17:48:09 +09:00
Homu
4be787bb29
Auto merge of #369 - kbknapp:clippy-updates, r=kbknapp
...
fix: fixes an intentional panic issue discovered via clippy
2016-01-04 16:23:57 +09:00
Kevin K
64ebaebab0
chore: increases version
2016-01-03 23:59:52 -05:00
Kevin K
f04a40808b
Merge branch 'master' into issue-368
2016-01-03 22:55:40 -05:00
Kevin K
c9bf7e4440
fix: fixes an issue where invalid short args didn't cause an error
...
Closes #368
2016-01-03 22:54:13 -05:00
Kevin K
8f3817f665
fix: prints the name in version and help instead of binary name
2016-01-03 22:51:01 -05:00
Kevin K
ea83a3d421
fix: fixes an intentional panic issue discovered via clippy
2016-01-03 21:54:56 -05:00
Homu
4e3bd16679
Auto merge of #366 - kbknapp:clippy-update, r=Vinatorul
...
Clippy update
2015-12-20 04:27:50 +09:00
Kevin K
cde0dedd66
chore(Readme): breaks out merit badges
2015-12-19 05:48:33 -05:00
Kevin K
55041bc878
chore: updates clippy
2015-12-19 05:35:44 -05:00
Homu
15512b834c
Auto merge of #359 - kbknapp:appveyor_test, r=Vinatorul
...
Added appveyor
for windows build tests.
**Do not merge, yet**
2015-12-19 17:48:38 +09:00
Kevin K
b9ff14bfff
chore: changes build command features for Windows builds in testing
2015-12-18 09:01:59 -05:00
Kevin K
2b6511fe65
tests(fmt): removes fmt tests from Windows builds
2015-12-18 09:01:59 -05:00
Kevin K
6372b4844f
tests(unicode): removes unicode testing from Windows builds
2015-12-18 09:01:59 -05:00
Alexander Kuvaev
910cace3e6
chore: change badge
2015-12-18 09:01:59 -05:00
Alexander Kuvaev
84d4583444
chore: update README.md
2015-12-18 09:01:59 -05:00
Alexander Kuvaev
816fa0df11
chore: create appveyor.yml
...
For windows builds
2015-12-18 09:01:59 -05:00
Homu
ec09ea5baf
Auto merge of #364 - kbknapp:v1.5.4, r=Vinatorul
...
chore: increase version
2015-12-18 20:07:07 +09:00
Homu
e886a52fb5
Auto merge of #363 - kbknapp:issue-362, r=Vinatorul
...
fix: ArgRequiredElseHelp setting now takes precedence over missing re…
…quired args
Closes #362
2015-12-18 18:40:40 +09:00
Kevin K
f1a454404c
chore: increase version
2015-12-18 01:36:15 -05:00
Kevin K
faad83fbef
fix: ArgRequiredElseHelp setting now takes precedence over missing required args
...
Closes #362
2015-12-17 23:51:57 -05:00
Homu
27872270db
Auto merge of #358 - sru:test-multiple-values, r=Vinatorul
...
tests(multiple_values): move tests related to multiple values
#166 .
Currently, there are four different error types that indicate the same thing: `TooManyArgs`, `TooManyValues`, `TooFewValues`, `WrongNumValues`. I wasn't sure which error they give. Therefore, I just checked that it gives error, but I do not check which error it gives.
2015-12-11 02:17:19 +09:00
Sung Rim Huh
389d14ab85
tests(multiple_values): move tests related to multiple values
2015-12-10 09:09:50 -08:00
Homu
d90b48befc
Auto merge of #360 - sru:errors-wrong-num-values, r=Vinatorul
...
fix(errors): return correct error type in WrongNumValues error builder
2015-12-11 02:07:54 +09:00
Sung Rim Huh
5ba8ba9dcc
fix(errors): return correct error type in WrongNumValues error builder
2015-12-10 08:40:24 -08:00
Homu
f2e4159831
Auto merge of #356 - sru:optional-yaml-example, r=kbknapp
...
examples(17_yaml): conditinonally compile 17_yaml example
`cargo test` automatically compiles (but not run) examples as well. So, `cargo test` without `--features yaml` flag aborts before running tests, which IMO quite unexpected.
On the other hand, those `#[cfg(...)]` may confuse users.
2015-12-09 15:22:06 +09:00
Sung Rim Huh
575de089a3
examples(17_yaml): conditinonally compile 17_yaml example
2015-12-08 21:10:00 -08:00
Homu
82f984504a
Auto merge of #357 - kbknapp:updates, r=kbknapp
...
Updates
2015-12-08 22:05:21 +09:00
Kevin K
99cdebc23d
imp: clippy improvements
2015-12-08 05:17:30 -05:00
Kevin K
6b54ba2e45
chore: updates deps
2015-12-08 03:05:19 -05:00
Homu
41bd23300d
Auto merge of #349 - kbknapp:newlines, r=Vinatorul
...
Newlines
2015-11-21 02:42:49 +09:00
Kevin K
b9ebc59c23
chore: increase version
2015-11-20 08:32:46 -05:00
Kevin K
c4d2b17119
fix(Errors): fixes some instances when errors are missing a final newline
2015-11-20 08:23:39 -05:00
Homu
f5f6264263
Auto merge of #347 - rnelson:fix-typo, r=Vinatorul
...
docs(Dependencies Tree): fixed a typo
2015-11-17 01:39:00 +09:00
Ross Nelson
71ba2da3f6
docs(Dependencies Tree): fixed a typo
2015-11-16 08:45:20 -06:00