diff options
| author | Michael Pratt <mpratt@google.com> | 2022-06-08 10:46:42 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-06-08 15:44:05 +0000 |
| commit | 3426b7201da8140bb0fb433facd9e1fd3f267dfb (patch) | |
| tree | 0dc130bd76935c5b2d0c5630ae47c5b8840f423a /src/runtime/testdata/testprog | |
| parent | f330a3a987aa980d6c1adfb4ed509b461d5c13cf (diff) | |
| download | go-3426b7201da8140bb0fb433facd9e1fd3f267dfb.tar.xz | |
runtime: gofmt
libfuzzerHookStrCmp is manually reformatted into a proper go doc list.
We don't always format testdata, but these test programs are standard Go
programs that can be formatted.
Change-Id: I4dde398bca225ae8c72e787e4d43fd0ccfd0a90b
Reviewed-on: https://go-review.googlesource.com/c/go/+/411114
Auto-Submit: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/testdata/testprog')
| -rw-r--r-- | src/runtime/testdata/testprog/crash.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/testdata/testprog/crash.go b/src/runtime/testdata/testprog/crash.go index a2294ba149..38c8f6a2fa 100644 --- a/src/runtime/testdata/testprog/crash.go +++ b/src/runtime/testdata/testprog/crash.go @@ -122,13 +122,13 @@ func NilPanic() { panic(nil) } -type exampleCircleStartError struct {} +type exampleCircleStartError struct{} func (e exampleCircleStartError) Error() string { panic(exampleCircleEndError{}) } -type exampleCircleEndError struct {} +type exampleCircleEndError struct{} func (e exampleCircleEndError) Error() string { panic(exampleCircleStartError{}) @@ -136,4 +136,4 @@ func (e exampleCircleEndError) Error() string { func CircularPanic() { panic(exampleCircleStartError{}) -}
\ No newline at end of file +} |
