| Marking a passing test as skipped test is a regression | |
| -- p_test.go -- | |
| package p | |
| import "testing" | |
| func TestP(t *testing.T) { | |
| } | |
| -- .commit -- | |
| Initial commit | |
| -- p_test.go -- | |
| package p | |
| import "testing" | |
| func TestP(t *testing.T) { | |
| t.SkipNow() | |
| } | |
| -- .commit -- | |
| Skip test | |
| -- .run_test -- | |
| # Errors | |
| Test regressions detected between initial commit (INITIAL_COMMIT_HASH) and HEAD: | |
| 1: sketch.dev.TestP: Was passing, now skipped | |
| Please fix before proceeding. |