formatting
This commit is contained in:
parent
b1e3ada95c
commit
26109c1941
@ -946,7 +946,13 @@ func TestNonWrapperNodes(t *testing.T) {
|
|||||||
}{}`
|
}{}`
|
||||||
|
|
||||||
defer withEnv(t, "TABWIDTH=2", "LINEWIDTH=27", "LINEWIDTH1=30")()
|
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)
|
s := Sprintwt(o)
|
||||||
if s != expect {
|
if s != expect {
|
||||||
t.Fatalf("expected: %s, got: %s", expect, s)
|
t.Fatalf("expected: %s, got: %s", expect, s)
|
||||||
|
Loading…
Reference in New Issue
Block a user