blob: 1211912db4419141a4add6f127b6ea5d076acc6c [file] [log] [blame]
Josh Bleecher Snyder833a0f82025-04-24 18:39:36 +00001Going from a passing test to a failing test in a subdir is a regression
2
3-- foo/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-- foo/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 (8c6c71d0beac5e27b87dfc3f2fd9d274b62c3d3a) and HEAD:
30
311: sketch.dev/foo.TestP: Was passing, now failing
32
33
34Please fix before proceeding.