Skip to content

Commit 0b1b9fe

Browse files
committed
fix test compilation
1 parent 99d885f commit 0b1b9fe

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

pkg/demoinfocs/common/common_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ type demoInfoProviderMock struct {
179179
equipment *Equipment
180180
}
181181

182+
func (p demoInfoProviderMock) FindEntityByHandle(handle uint64) st.Entity {
183+
panic("implement me")
184+
}
185+
182186
func (p demoInfoProviderMock) TickRate() float64 {
183187
return p.tickRate
184188
}

pkg/demoinfocs/events/events_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ func TestKill_IsWallBang(t *testing.T) {
5858
type demoInfoProviderMock struct {
5959
}
6060

61+
func (p demoInfoProviderMock) FindEntityByHandle(handle uint64) st.Entity {
62+
panic("implement me")
63+
}
64+
6165
func (p demoInfoProviderMock) IngameTick() int {
6266
return 0
6367
}

0 commit comments

Comments
 (0)