Skip to content

Commit fd6bae4

Browse files
authored
fix: change path to doc.go in docgen test (#2700)
Fixes #2680
1 parent 86c5250 commit fd6bae4

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

cmd/librarian/doc_generate_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ func TestGoGenerate(t *testing.T) {
3131
if err := cmd.Run(); err != nil {
3232
t.Fatalf("%v: %v", cmd, err)
3333
}
34-
cmd = exec.Command("git", "diff", "--exit-code", "--", "internal/librarian/doc.go")
34+
cmd = exec.Command("git", "diff", "--exit-code", "--", "cmd/librarian/doc.go")
3535
if err := cmd.Run(); err != nil {
3636
t.Errorf("go generate produced a diff, please run `go generate ./...` and commit the changes")
37-
cmd := exec.Command("git", "diff", "--", "internal/librarian/doc.go")
37+
cmd = exec.Command("git", "diff", "--", "cmd/librarian/doc.go")
3838
out, _ := cmd.CombinedOutput()
3939
t.Logf("diff:\n%s", out)
4040
}

internal/librarian/doc.go

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)