diff --git a/main.go b/main.go index 95cae9e..5aa9b1f 100644 --- a/main.go +++ b/main.go @@ -37,7 +37,7 @@ import ( var ( // TODO: wrap doc strings for imports and floating comments. - wrapdoc = flag.Int("wrapdoc", 80, "column at which to wrap doc strings for functions, variables, constants, and types. ignores multiline comments denoted by /*") + wrapdoc = flag.Int("wrapdoc", 160, "column at which to wrap doc strings for functions, variables, constants, and types. ignores multiline comments denoted by /*") wrap = flag.Int("wrap", 100, "column to wrap at") tab = flag.Int("tab", 2, "tab width for column calculations") overwrite = flag.Bool("w", false, "overwrite modified files") diff --git a/main_test.go b/main_test.go index 0f95303..c08dd33 100644 --- a/main_test.go +++ b/main_test.go @@ -31,6 +31,7 @@ func TestCheckPath(t *testing.T) { *printDiff = false *tab = 8 *groupImports = false + *wrapdoc = 80 files, err := filepath.Glob("testdata/*.in.go") if err != nil { t.Fatal(err)