blob: 50afae7e2671946508c913a355105b8dcd4085f0 [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 --
Josh Bleecher Snyderffecb1e2025-04-28 18:59:14 +000027# Errors
28
Josh Bleecher Snyder833a0f82025-04-24 18:39:36 +000029Test regressions detected between initial commit (149798f10aaf06bc4700bb62d46ed6d8d88e35ad) and HEAD:
30
311: sketch.dev.TestP: Was passing, now failing
32
33
34Please fix before proceeding.