Skip to content

Commit

Permalink
test: fix failing test related to float on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
achannarasappa committed Apr 30, 2024
1 parent 691b86f commit e13b542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/quote/coincap/coincap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var _ = Describe("CoinCap Quote", func() {
"PriceOpen": Equal(0.0),
"PriceDayHigh": Equal(0.0),
"PriceDayLow": Equal(0.0),
"Change": Equal(863.9242856318742),
"Change": BeNumerically("~", 863.9242856318742, 1e8),
"ChangePercent": Equal(1.3622077494913285),
}),
"QuoteSource": Equal(c.QuoteSourceCoinCap),
Expand Down

0 comments on commit e13b542

Please sign in to comment.