Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
martinscholz83 committed Jul 12, 2017
1 parent ede619f commit ee0b3ce
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestQuery(t *testing.T) {
}
defer q.Close()

err = q.AddCounter(processorTimeCounter, FloatFlormat)
err = q.AddCounter(processorTimeCounter, FloatFlormat, nil)
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -145,7 +145,7 @@ func TestLongOutputFormat(t *testing.T) {
}
defer query.Close()

err = query.AddCounter(processorTimeCounter, LongFormat)
err = query.AddCounter(processorTimeCounter, LongFormat, nil)
if err != nil && err != PDH_NO_MORE_DATA {
t.Fatal(err)
}
Expand Down Expand Up @@ -179,7 +179,7 @@ func TestFloatOutputFormat(t *testing.T) {
}
defer query.Close()

err = query.AddCounter(processorTimeCounter, FloatFlormat)
err = query.AddCounter(processorTimeCounter, FloatFlormat, nil)
if err != nil && err != PDH_NO_MORE_DATA {
t.Fatal(err)
}
Expand Down Expand Up @@ -213,7 +213,7 @@ func TestRawValues(t *testing.T) {
}
defer query.Close()

err = query.AddCounter(processorTimeCounter, FloatFlormat)
err = query.AddCounter(processorTimeCounter, FloatFlormat, nil)
if err != nil && err != PDH_NO_MORE_DATA {
t.Fatal(err)
}
Expand Down

0 comments on commit ee0b3ce

Please sign in to comment.