From 1e12eab8705d1d8d7472be9147a39caa1c8380db Mon Sep 17 00:00:00 2001 From: cui fliter Date: Fri, 22 Mar 2024 23:31:44 +0800 Subject: all: fix a large number of comments Partial typo corrections, following https://go.dev/wiki/Spelling Change-Id: I2357906ff2ea04305c6357418e4e9556e20375d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/573776 LUCI-TryBot-Result: Go LUCI TryBot-Result: Gopher Robot Reviewed-by: Than McIntosh Run-TryBot: shuang cui Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- src/encoding/xml/xml_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/encoding/xml/xml_test.go') diff --git a/src/encoding/xml/xml_test.go b/src/encoding/xml/xml_test.go index a6763fd547..b2a06a7639 100644 --- a/src/encoding/xml/xml_test.go +++ b/src/encoding/xml/xml_test.go @@ -1091,10 +1091,10 @@ func TestIssue7113(t *testing.T) { } if a.XMLName.Space != structSpace { - t.Errorf("overidding with empty namespace: unmarshalling, got %s, want %s\n", a.XMLName.Space, structSpace) + t.Errorf("overidding with empty namespace: unmarshaling, got %s, want %s\n", a.XMLName.Space, structSpace) } if len(a.C.XMLName.Space) != 0 { - t.Fatalf("overidding with empty namespace: unmarshalling, got %s, want empty\n", a.C.XMLName.Space) + t.Fatalf("overidding with empty namespace: unmarshaling, got %s, want empty\n", a.C.XMLName.Space) } var b []byte @@ -1106,7 +1106,7 @@ func TestIssue7113(t *testing.T) { t.Errorf("overidding with empty namespace: marshaling, got %s in C tag which should be empty\n", a.C.XMLName.Space) } if string(b) != xmlTest { - t.Fatalf("overidding with empty namespace: marshalling, got %s, want %s\n", b, xmlTest) + t.Fatalf("overidding with empty namespace: marshaling, got %s, want %s\n", b, xmlTest) } var c A err = Unmarshal(b, &c) -- cgit v1.3