summaryrefslogtreecommitdiffhomepage
path: root/tools/go_marshal/gomarshal/generator_tests.go
diff options
context:
space:
mode:
authorRahat Mahmood <rahat@google.com>2020-02-27 14:51:29 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-27 14:52:26 -0800
commitaa9f8abaef5c6250bdcee8fd88b2420f20791c5d (patch)
treeb91caf2f1a0f00ecff72916b00216df13249e986 /tools/go_marshal/gomarshal/generator_tests.go
parent2cccf3d27b138b677ef50a663304b1ba83d62051 (diff)
Implement automated marshalling for newtypes on arrays.
PiperOrigin-RevId: 297693838
Diffstat (limited to 'tools/go_marshal/gomarshal/generator_tests.go')
-rw-r--r--tools/go_marshal/gomarshal/generator_tests.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/go_marshal/gomarshal/generator_tests.go b/tools/go_marshal/gomarshal/generator_tests.go
index 8ba47eb67..fd992e44a 100644
--- a/tools/go_marshal/gomarshal/generator_tests.go
+++ b/tools/go_marshal/gomarshal/generator_tests.go
@@ -164,7 +164,7 @@ func (g *testGenerator) emitTestSizeBytesOnTypedNilPtr() {
g.emit("if sizeFromTypedNilPtr != sizeFromConcrete {\n")
g.inIndent(func() {
- g.emit("t.Fatalf(\"SizeBytes() on typed nil pointer (%v) doesn't match size returned by a concrete object (%v).\\n\", sizeFromTypedNilPtr, sizeFromConcrete)")
+ g.emit("t.Fatalf(\"SizeBytes() on typed nil pointer (%v) doesn't match size returned by a concrete object (%v).\\n\", sizeFromTypedNilPtr, sizeFromConcrete)\n")
})
g.emit("}\n")
})