Index: cmd/cmd_test.go |
=== modified file 'cmd/cmd_test.go' |
--- cmd/cmd_test.go 2012-05-02 07:44:07 +0000 |
+++ cmd/cmd_test.go 2012-05-03 12:15:46 +0000 |
@@ -30,6 +30,11 @@ |
f.StringVar(&ignored, "option", "", "option-doc") |
help = full.Info().Help(f) |
c.Assert(string(help), Equals, fullHelp) |
+ |
+ optionInfo := full.Info() |
+ optionInfo.Doc = "" |
+ help = optionInfo.Help(f) |
+ c.Assert(string(help), Equals, optionHelp) |
} |
var initErrorTests = []struct { |