blob: 31a055681c8e643b3f634bdbecf58f1854fe5ad0 [file] [log] [blame]
Josh Bleecher Snyder833a0f82025-04-24 18:39:36 +00001Going from a passing test to a failing test is a regression
2
3-- p_test.go --
4package p
5
6import "testing"
7
8func TestP(t *testing.T) {
9}
10
11-- .commit --
12Initial commit with passing test
13
14-- p_test.go --
15package p
16
17import "testing"
18
19func TestP(t *testing.T) {
20 t.FailNow()
21}
22
23-- .commit --
24Break test
25
26-- .run_test --
27Test regressions detected between initial commit (149798f10aaf06bc4700bb62d46ed6d8d88e35ad) and HEAD:
28
291: sketch.dev.TestP: Was passing, now failing
30
31
32Please fix before proceeding.