]> Cypherpunks repositories - gostls13.git/commit
time: add fuzz test for Time.appendFormatRFC3339
authorJoe Tsai <joetsai@digital-static.net>
Mon, 22 Aug 2022 20:33:56 +0000 (13:33 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 29 Aug 2022 19:29:37 +0000 (19:29 +0000)
commit4029124cf4e79ed6f1c6d4cc0a19331eeddd58a6
treeb6933195eb33bc73038732e058e36922a19cdf6b
parent68b10c2bb8ab95397c70b32ce7c3373eaa6ae9ce
time: add fuzz test for Time.appendFormatRFC3339

Time.appendFormatRFC3339 is a specialized implementation of
Time.appendFormat. We expect the two to be identical.
Add a fuzz test to ensure this property.

Updates #54093

Change-Id: I0bc41ee6e016d3dac75d1ac372d8c9c7266d0299
Reviewed-on: https://go-review.googlesource.com/c/go/+/425100
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
src/time/export_test.go
src/time/format.go
src/time/format_test.go