aboutsummaryrefslogtreecommitdiffstats
path: root/prog/test_util.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/test_util.go')
-rw-r--r--prog/test_util.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/prog/test_util.go b/prog/test_util.go
index 7f391792c..07f24141a 100644
--- a/prog/test_util.go
+++ b/prog/test_util.go
@@ -34,10 +34,10 @@ func TestDeserializeHelper(t *testing.T, OS, arch string, transform func(*Target
test.StrictErr = test.Err
}
if test.Err != "" && test.Out != "" {
- t.Fatalf("both Err and Out are set")
+ t.Errorf("both Err and Out are set")
}
if test.In == test.Out {
- t.Fatalf("In and Out are equal, remove Out in such case\n%v", test.In)
+ t.Errorf("In and Out are equal, remove Out in such case\n%v", test.In)
}
if test.Out == "" {
test.Out = test.In