未验证 提交 363086b7 编写于 作者: A Alessandro Arzilli 提交者: GitHub

terminal: fix TestContinueUntil on linux/386 (#2387)

上级 14951e0e
......@@ -1143,7 +1143,11 @@ func TestParseNewArgv(t *testing.T) {
func TestContinueUntil(t *testing.T) {
withTestTerminal("continuetestprog", t, func(term *FakeTerminal) {
listIsAt(t, term, "continue main.main", 16, -1, -1)
if runtime.GOARCH != "386" {
listIsAt(t, term, "continue main.main", 16, -1, -1)
} else {
listIsAt(t, term, "continue main.main", 17, -1, -1)
}
listIsAt(t, term, "continue main.sayhi", 12, -1, -1)
})
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册