Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在运行一个 go 测试,如下所示:
func TestMyCase(t *testing.T)
其中有 gomege Expect 声明。问题是 Expect 确实会导致测试失败,即使它应该失败,我不知道为什么。谢谢