Answer architecture round 1: read the module path from go.mod, keep the randomness behind State's methods, rename the field drawState and the counter Seq, and file items 108 and 109
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ func TestDrawStepsPanicsOnAStepItsNodeLacks(t *testing.T) {
|
||||
t.Errorf("drawSteps(plain, f) recovered %v, want a panic naming the missing field", r)
|
||||
}
|
||||
}()
|
||||
drawSteps(engine(1).draws, compiled(t, `"plain"`), []pathStep{{kind: stepField, name: "f"}}, &pinSet{}, nil, nil)
|
||||
drawSteps(engine(1).drawState, compiled(t, `"plain"`), []pathStep{{kind: stepField, name: "f"}}, &pinSet{}, nil, nil)
|
||||
}
|
||||
|
||||
func TestDeepDottedPath(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user