Skip to content

Commit

Permalink
Auto merge of #855 - pkgw:pr-testfix, r=kbknapp
Browse files Browse the repository at this point in the history
tests: fix clap_app! doctest

I need these changes to get all of the tests to pass on Linux.
  • Loading branch information
homu committed Feb 17, 2017
2 parents e3296e5 + e635658 commit cb81ce5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ macro_rules! app_from_crate {
/// # #[macro_use]
/// # extern crate clap;
/// # fn main() {
/// clap_app!(myapp =>
/// let matches = clap_app!(myapp =>
/// (version: "1.0")
/// (author: "Kevin K. <[email protected]>")
/// (about: "Does awesome things")
Expand All @@ -555,8 +555,8 @@ macro_rules! app_from_crate {
/// (author: "Someone E. <[email protected]>")
/// (@arg verbose: -v --verbose "Print test information verbosely")
/// )
/// )
/// #}
/// );
/// # }
/// ```
/// # Shorthand Syntax for Args
///
Expand Down

0 comments on commit cb81ce5

Please sign in to comment.