formatting

This commit is contained in:
Arpad Ryszka 2020-11-10 00:56:55 +01:00
parent b1e3ada95c
commit 26109c1941

View File

@ -946,7 +946,13 @@ func TestNonWrapperNodes(t *testing.T) {
}{}`
defer withEnv(t, "TABWIDTH=2", "LINEWIDTH=27", "LINEWIDTH1=30")()
o := map[struct{foo int; bar int}]struct{foo int; bar int}{}
o := map[struct {
foo int
bar int
}]struct {
foo int
bar int
}{}
s := Sprintwt(o)
if s != expect {
t.Fatalf("expected: %s, got: %s", expect, s)