Skip to content

Commit

Permalink
Fix spec name for parsing BigDecimal from floats (crystal-lang#5561)
Browse files Browse the repository at this point in the history
Follow-up to crystal-lang#5525
  • Loading branch information
splattael authored and RX14 committed Jan 9, 2018
1 parent d8343a6 commit 77db65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/std/json/serialization_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe "JSON serialization" do
big.should eq(BigDecimal.new("1234"))
end

it "does for BigDecimal from int" do
it "does for BigDecimal from float" do
big = BigDecimal.from_json("1234.05")
big.should be_a(BigDecimal)
big.should eq(BigDecimal.new("1234.05"))
Expand Down

0 comments on commit 77db65a

Please sign in to comment.