Closed JeffFaer closed 3 weeks ago
group_prefixes
Idempotency output before this change:
$ go test ./... ? github.com/google/keep-sorted [no test files] ? github.com/google/keep-sorted/cmd [no test files] --- FAIL: TestGoldens (0.66s) --- FAIL: TestGoldens/group (0.00s) --- FAIL: TestGoldens/group/group (0.66s) golden_test.go:105: keep-sorted diff on keep-sorted output (should be idempotent) (-want +got) ( """ ... // 180 identical lines case 5: // keep-sorted-test end - return 10 case 2: - return 2; case 4: + case 6: + return 10 + return 2; return 4; - case 6: return 6; // keep-sorted-test end """ ) FAIL FAIL github.com/google/keep-sorted/goldens 0.686s ok github.com/google/keep-sorted/keepsorted (cached) FAIL
Also, check the git history to see how group.out evolved.
group_prefixes
.Idempotency output before this change:
Also, check the git history to see how group.out evolved.