diff options
Diffstat (limited to 'system/dispatcher_test.go')
| -rw-r--r-- | system/dispatcher_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/dispatcher_test.go b/system/dispatcher_test.go index 53d2b664..7c7c10c9 100644 --- a/system/dispatcher_test.go +++ b/system/dispatcher_test.go @@ -75,7 +75,7 @@ func checkOpBehaviour(t *testing.T, testCases []opBehaviourTestCase) { type opsBuilderTestCase struct { name string uid int - f func(sys *I) + f func(t *testing.T, sys *I) want []Op exp stub.Expect } @@ -92,7 +92,7 @@ func checkOpsBuilder(t *testing.T, fname string, testCases []opsBuilderTestCase) sys, s := InternalNew(t, tc.exp, tc.uid) defer stub.HandleExit(t) - tc.f(sys) + tc.f(t, sys) s.VisitIncomplete(func(s *stub.Stub[syscallDispatcher]) { t.Helper() |
