From 17d37e3b060fd6d2693b40a189271a9e17cd814b Mon Sep 17 00:00:00 2001 From: "Owain G. Ainsworth" Date: Tue, 6 Aug 2013 18:00:05 +0100 Subject: [PATCH] Fix up some ErrorF strings in tests. One was missing a format directive. the others changed for consistency. Appeases go vet. --- opcode_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opcode_test.go b/opcode_test.go index 61eb31c0..3f647e21 100644 --- a/opcode_test.go +++ b/opcode_test.go @@ -3896,16 +3896,16 @@ func testOpcode(t *testing.T, test *detailedTest) { if test.disassembly != "" { dis0, err := engine.DisasmScript(0) if err != nil { - t.Errorf("failed to disassemble script0 for %s: %v", + t.Errorf("%s: failed to disassemble script0: %v", test.name, err) } if dis0 != "" { - t.Errorf("disassembly of empty script gave \"%s\"", + t.Errorf("%s: disassembly of empty script gave \"%s\"", test.name, dis0) } disScript, err = engine.DisasmScript(1) if err != nil { - t.Errorf("failed to disassemble script for %s: %v", + t.Errorf("%s: failed to disassemble script: %v", test.name, err) } _, err = engine.DisasmScript(2)