Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mjk90 committed Nov 12, 2024
1 parent 065febe commit 26a9fac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/services/llo/telemetry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ func Test_Telemeter(t *testing.T) {

run := &pipeline.Run{ID: 42}
streamID := uint32(135)
donId := uint32(1)
donID := uint32(1)
opts := &mockOpts{}

t.Run("with error", func(t *testing.T) {
tm := newTelemeter(lggr, m, donId)
tm := newTelemeter(lggr, m, donID)
servicetest.Run(t, tm)

t.Run("if error is some random failure returns immediately", func(t *testing.T) {
Expand All @@ -143,7 +143,7 @@ func Test_Telemeter(t *testing.T) {
})
})
t.Run("with decimal value, sets all values correctly", func(t *testing.T) {
tm := newTelemeter(lggr, m, donId)
tm := newTelemeter(lggr, m, donID)
val := llo.ToDecimal(decimal.NewFromFloat32(102.12))
servicetest.Run(t, tm)
tm.EnqueueV3PremiumLegacy(run, trrs, streamID, opts, val, nil)
Expand Down Expand Up @@ -193,7 +193,7 @@ func Test_Telemeter(t *testing.T) {
}
})
t.Run("with quote value", func(t *testing.T) {
tm := newTelemeter(lggr, m, donId)
tm := newTelemeter(lggr, m, donID)
val := &llo.Quote{Bid: decimal.NewFromFloat32(102.12), Benchmark: decimal.NewFromFloat32(103.32), Ask: decimal.NewFromFloat32(104.25)}
servicetest.Run(t, tm)
tm.EnqueueV3PremiumLegacy(run, trrs, streamID, opts, val, nil)
Expand Down

0 comments on commit 26a9fac

Please sign in to comment.