Commit 48b74e26 authored by refcell.eth's avatar refcell.eth Committed by GitHub

Update op-challenger/game/fault/trace/split/provider_test.go

Co-authored-by: default avatarAdrian Sutton <adrian@oplabs.co>
parent d3bd703c
......@@ -29,7 +29,7 @@ func TestGet(t *testing.T) {
t.Run("ReturnsCorrectOutput", func(t *testing.T) {
mockOutputProvider := mockTraceProvider{getOutput: mockOutput}
splitProvider := newSplitTraceProvider(t, &mockOutputProvider, nil, 40)
splitProvider := newSplitTraceProvider(t, &mockOutputProvider, &mockTraceProvider{}, 40)
output, err := splitProvider.Get(context.Background(), types.NewPosition(6, 3))
require.NoError(t, err)
expectedGIndex := types.NewPosition(6, 3).ToGIndex()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment