v0 plan: move given files to _files/ so go vet ./... ignores them; note the first-attempt finding
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -82,9 +82,9 @@ not change it.
|
||||
```sh
|
||||
git switch v0
|
||||
mkdir -p cmd/fakeupstream cmd/crossbar internal/admin
|
||||
cp docs/plans/v0/files/cmd/fakeupstream/main.go cmd/fakeupstream/
|
||||
cp docs/plans/v0/files/example.toml .
|
||||
cp docs/plans/v0/files/internal/admin/admin_test.go internal/admin/
|
||||
cp docs/plans/v0/_files/cmd/fakeupstream/main.go cmd/fakeupstream/
|
||||
cp docs/plans/v0/_files/example.toml .
|
||||
cp docs/plans/v0/_files/internal/admin/admin_test.go internal/admin/
|
||||
```
|
||||
|
||||
- [ ] **2. See the test fail.** `go test ./internal/admin/`. Expected: it does not compile.
|
||||
@@ -119,7 +119,7 @@ git commit
|
||||
|
||||
- The admin test passes, the three-second run exits 0 with both log lines, the missing-config
|
||||
run exits 1, `make gate` prints `gate: ok`.
|
||||
- `cmp cmd/fakeupstream/main.go docs/plans/v0/files/cmd/fakeupstream/main.go` and the same for
|
||||
- `cmp cmd/fakeupstream/main.go docs/plans/v0/_files/cmd/fakeupstream/main.go` and the same for
|
||||
`example.toml` and `internal/admin/admin_test.go` print nothing.
|
||||
|
||||
## Stop and report if
|
||||
|
||||
Reference in New Issue
Block a user