diff options
| author | David Hill <[email protected]> | 2018-01-21 11:36:22 -0500 |
|---|---|---|
| committer | David Hill <[email protected]> | 2018-01-21 11:36:22 -0500 |
| commit | db69d09d2c587e9b9677f991dfcab1fc24d9086e (patch) | |
| tree | 3e42ab67bba8787faa1b50e83ecb5e89a2994e87 /spew/format_test.go | |
| parent | ecdeabc65495df2dec95d7c4a4c3e021903035e5 (diff) | |
vet: fix vet warnings
Diffstat (limited to 'spew/format_test.go')
| -rw-r--r-- | spew/format_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spew/format_test.go b/spew/format_test.go index 0719eb9..87ee965 100644 --- a/spew/format_test.go +++ b/spew/format_test.go @@ -1083,7 +1083,7 @@ func addUintptrFormatterTests() { func addUnsafePointerFormatterTests() { // Null pointer. - v := unsafe.Pointer(uintptr(0)) + v := unsafe.Pointer(nil) nv := (*unsafe.Pointer)(nil) pv := &v vAddr := fmt.Sprintf("%p", pv) |
