We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e1b034 commit bab5864Copy full SHA for bab5864
1 file changed
gen/eject_test.go
@@ -167,7 +167,12 @@ func TestEject_CompilesAndWires(t *testing.T) {
167
t.Fatalf("Eject: %v", err)
168
}
169
170
- const stateAbs = "/Users/joshua.temple/go/src/github.com/stablekernel/crucible/.worktrees/gen-eject/state"
+ // Resolve the sibling state module relative to this package so the proof
171
+ // works from any checkout; the build runs with cwd at the gen package dir.
172
+ stateAbs, err := filepath.Abs("../state")
173
+ if err != nil {
174
+ t.Fatalf("resolve state module path: %v", err)
175
+ }
176
177
tmp := t.TempDir()
178
gomod := "module genout\n\ngo 1.25.11\n\nrequire github.com/stablekernel/crucible/state v0.0.0\n\nreplace github.com/stablekernel/crucible/state => " + stateAbs + "\n"
0 commit comments