diff options
Diffstat (limited to 'src/cmd/internal/obj')
| -rw-r--r-- | src/cmd/internal/obj/ppc64/asm_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/obj/ppc64/asm_test.go b/src/cmd/internal/obj/ppc64/asm_test.go index b8995dc7e1..433df5c8aa 100644 --- a/src/cmd/internal/obj/ppc64/asm_test.go +++ b/src/cmd/internal/obj/ppc64/asm_test.go @@ -198,11 +198,11 @@ func TestPfxAlign(t *testing.T) { t.Errorf("Failed to compile %v: %v\n", pgm, err) } if !strings.Contains(string(out), pgm.align) { - t.Errorf(fmt.Sprintf("Fatal, misaligned text with prefixed instructions:\n%s\n", string(out))) + t.Errorf("Fatal, misaligned text with prefixed instructions:\n%s", out) } hasNop := strings.Contains(string(out), "00 00 00 60") if hasNop != pgm.hasNop { - t.Errorf(fmt.Sprintf("Fatal, prefixed instruction is missing nop padding:\n%s\n", string(out))) + t.Errorf("Fatal, prefixed instruction is missing nop padding:\n%s", out) } } } |
