diff options
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/macho/file_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/debug/macho/file_test.go b/src/debug/macho/file_test.go index 003c14e69b..28b76f93d7 100644 --- a/src/debug/macho/file_test.go +++ b/src/debug/macho/file_test.go @@ -154,7 +154,7 @@ var fileTests = []fileTest{ nil, nil, map[string][]Reloc{ - "__text": []Reloc{ + "__text": { { Addr: 0x1d, Type: uint8(GENERIC_RELOC_VANILLA), @@ -189,7 +189,7 @@ var fileTests = []fileTest{ nil, nil, map[string][]Reloc{ - "__text": []Reloc{ + "__text": { { Addr: 0x19, Type: uint8(X86_64_RELOC_BRANCH), @@ -207,7 +207,7 @@ var fileTests = []fileTest{ Value: 2, }, }, - "__compact_unwind": []Reloc{ + "__compact_unwind": { { Addr: 0x0, Type: uint8(X86_64_RELOC_UNSIGNED), |
