#0028 · 反偷懒
测试不许改断言
测试没过时,不许去改测试的断言来让它通过。先找出代码哪里错了;如果你认为测试本身写错了,说出理由,等我确认。
When a test fails, don't change its assertions to make it pass. Find what's wrong in the code; if you think the test itself is wrong, explain why and wait for me.
小杜
已贴 1,040 张上墙共收到 0 个章