diff options
Diffstat (limited to 'src/cmd/gofmt/testdata/import.input')
-rw-r--r-- | src/cmd/gofmt/testdata/import.input | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/cmd/gofmt/testdata/import.input b/src/cmd/gofmt/testdata/import.input index cc36c3e01..9a4b09dbf 100644 --- a/src/cmd/gofmt/testdata/import.input +++ b/src/cmd/gofmt/testdata/import.input @@ -106,3 +106,26 @@ import ( "errors" "io" // for Reader ) + +// Test deduping and extended sorting +import ( + "B" // B + a "A" // aA + b "A" // bA2 + b "A" // bA1 + . "B" // .B + . "B" + "C" + "C" + "C" + a "D" // aD + "B" + _ "B" // _b +) + +import ( + "dedup_by_group" + "dedup_by_group" + + "dedup_by_group" +) |