提交 ee93b0b4 编写于 作者: C chainhelen 提交者: Alessandro Arzilli

service/test: fix typo

上级 0af7d6d3
...@@ -197,7 +197,7 @@ func Test1ClientServer_step(t *testing.T) { ...@@ -197,7 +197,7 @@ func Test1ClientServer_step(t *testing.T) {
} }
if before, after := stateBefore.CurrentThread.PC, stateAfter.CurrentThread.PC; before >= after { 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)
} }
}) })
} }
......
...@@ -228,7 +228,7 @@ func TestClientServer_step(t *testing.T) { ...@@ -228,7 +228,7 @@ func TestClientServer_step(t *testing.T) {
} }
if before, after := stateBefore.CurrentThread.PC, stateAfter.CurrentThread.PC; before >= after { 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)
} }
}) })
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册