From ee93b0b403ae030be5bd3b284e97b084de79377e Mon Sep 17 00:00:00 2001 From: chainhelen Date: Wed, 19 Sep 2018 19:59:44 +0800 Subject: [PATCH] service/test: fix typo --- service/test/integration1_test.go | 2 +- service/test/integration2_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service/test/integration1_test.go b/service/test/integration1_test.go index ed10e28d..38669a6d 100644 --- a/service/test/integration1_test.go +++ b/service/test/integration1_test.go @@ -197,7 +197,7 @@ func Test1ClientServer_step(t *testing.T) { } if before, after := stateBefore.CurrentThread.PC, stateAfter.CurrentThread.PC; before >= after { - t.Errorf("Expected %#v to be greater than %#v", before, after) + t.Fatalf("Expected %#v to be greater than %#v", after, before) } }) } diff --git a/service/test/integration2_test.go b/service/test/integration2_test.go index 66e2b02f..67ee5e6f 100644 --- a/service/test/integration2_test.go +++ b/service/test/integration2_test.go @@ -228,7 +228,7 @@ func TestClientServer_step(t *testing.T) { } if before, after := stateBefore.CurrentThread.PC, stateAfter.CurrentThread.PC; before >= after { - t.Errorf("Expected %#v to be greater than %#v", before, after) + t.Fatalf("Expected %#v to be greater than %#v", after, before) } }) }