Skip to content

Commit

Permalink
Fix test for S17 Vnish devices
Browse files Browse the repository at this point in the history
  • Loading branch information
dmp1ce committed Nov 14, 2019
1 parent bd41339 commit 2821407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ json = testGroup "json tests"
((decodeReply exampleReplyS17Vnish) /= Nothing) @? "exampleReply could not be decoded"
, testCase "Can get stats (s17 vnish)" $
let Just x = decodeReply exampleReplyS17Vnish
in (getStats x) @?= (Right $ Stats (Just $ Watt 2385)
in (getStats x) @?= (Right $ Stats (Just $ Watt 2800)
[ ("temp1"::T.Text, 55::Rational)
, ("temp2"::T.Text, 57)
, ("temp3", 56)
Expand Down

0 comments on commit 2821407

Please sign in to comment.