Skip to content

Add description block for #restore#57

Merged
kytrinyx merged 1 commit intoexercism:masterfrom
rcode5:add-description-to-restore-method
Feb 22, 2014
Merged

Add description block for #restore#57
kytrinyx merged 1 commit intoexercism:masterfrom
rcode5:add-description-to-restore-method

Conversation

@bunnymatic
Copy link
Contributor

  • i was unable to figure out how to write tests for the commandline output
  • i did write a test for codegansta/cli (Checking that description works urfave/cli#68) to prove that the cli handles Description properly
  • i built the cli and tried it locally - looks good to me, but i was a little sad not to have a proper test for it.

* i was unable to figure out how to write tests for the commandline output
* i did write a test for codegansta/cli (urfave/cli#68) to prove that the cli handles Description properly
@kytrinyx
Copy link
Member

Thank you ❤️

I think this is how to test command-line output:

https://github.com/codegangsta/cli/blob/master/app_test.go#L10-L25

I'm merging this in, and I'll see if I can do something similar here, unless you get to it first.

kytrinyx added a commit that referenced this pull request Feb 22, 2014
@kytrinyx kytrinyx merged commit fc511b8 into exercism:master Feb 22, 2014
@bunnymatic bunnymatic deleted the add-description-to-restore-method branch February 27, 2014 01:32
lcowell pushed a commit to lcowell/cli that referenced this pull request Jan 25, 2015
…-method

Add description block for #restore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants