Skip to content

Commit

Permalink
Add missing function back after main merge.
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
  • Loading branch information
jacobweinstock committed May 5, 2023
1 parent 4a7719f commit 98b0635
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ func TestDefaultTimeout(t *testing.T) {
}
}

func equalWithinErrorMargin(a, b time.Duration) bool {
return (a - b) < 10*time.Millisecond
}

type testProvider struct {
PName string
Powerstate string
Expand Down

0 comments on commit 98b0635

Please sign in to comment.