aboutsummaryrefslogtreecommitdiff
path: root/flag_test.go
diff options
context:
space:
mode:
authorEric Paris <[email protected]>2015-05-27 16:10:28 -0400
committerEric Paris <[email protected]>2015-06-22 15:29:55 -0400
commit469982769211123a1718ad9edf5d03bd39aed547 (patch)
treee27225869f2771ded175b16e1ce51e8f9cdcbdf6 /flag_test.go
parentb319e90e90fa3261384806182c8f147a4d16c46a (diff)
Add support for '--flag arg'
Diffstat (limited to 'flag_test.go')
-rw-r--r--flag_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/flag_test.go b/flag_test.go
index 67a6a27..a5928e5 100644
--- a/flag_test.go
+++ b/flag_test.go
@@ -176,7 +176,7 @@ func testParse(f *FlagSet, t *testing.T) {
"--int8=-8",
"--int32=-32",
"--int64=0x23",
- "--uint=24",
+ "--uint", "24",
"--uint8=8",
"--uint16=16",
"--uint32=32",