Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3021)

Issue 6601056: cmd: add tests for --format=nnn (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by dfc
Modified:
11 years, 6 months ago
Reviewers:
mp+127921
Visibility:
Public.

Description

cmd: add tests for --format=nnn Add checks for --format=nnn flag parsing. This will break for people who have not updated gnuflag to the latest version, this is a good thing. https://code.launchpad.net/~dave-cheney/juju-core/013-cmd-additional-format-tests/+merge/127921 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : cmd: add tests for --format=nnn #

Patch Set 3 : cmd: add tests for --format=nnn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/output_test.go View 1 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 7
dfc
Please take a look.
11 years, 6 months ago (2012-10-04 01:34:45 UTC) #1
fwereade
LGTM
11 years, 6 months ago (2012-10-04 09:16:41 UTC) #2
niemeyer
The intention is great, but NOT LGTM as it is. https://codereview.appspot.com/6601056/diff/1/cmd/output_test.go File cmd/output_test.go (right): https://codereview.appspot.com/6601056/diff/1/cmd/output_test.go#newcode109 ...
11 years, 6 months ago (2012-10-04 21:24:20 UTC) #3
dfc
https://codereview.appspot.com/6601056/diff/1/cmd/output_test.go File cmd/output_test.go (right): https://codereview.appspot.com/6601056/diff/1/cmd/output_test.go#newcode109 cmd/output_test.go:109: args = []string{"--format=" + format} On 2012/10/04 21:24:21, niemeyer ...
11 years, 6 months ago (2012-10-04 22:54:27 UTC) #4
dfc
Please take a look.
11 years, 6 months ago (2012-10-05 00:00:27 UTC) #5
niemeyer
LGTM, thanks!
11 years, 6 months ago (2012-10-05 00:24:04 UTC) #6
dfc
11 years, 6 months ago (2012-10-05 00:43:32 UTC) #7
*** Submitted:

cmd: add tests for --format=nnn

Add checks for --format=nnn flag parsing.

This will break for people who have not updated gnuflag to the latest version,
this is a good thing.

R=fwereade, niemeyer
CC=
https://codereview.appspot.com/6601056
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b