From 2233a1a5f5c94385ad860132622fb28d1ea591f8 Mon Sep 17 00:00:00 2001 From: Peter Leitzen Date: Tue, 9 Jan 2018 11:52:07 +0100 Subject: [PATCH] Fix spec name for parsing BigDecimal from floats Follow-up to #5525 --- spec/std/json/serialization_spec.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/std/json/serialization_spec.cr b/spec/std/json/serialization_spec.cr index 6c5be193775d..e36f5892ce24 100644 --- a/spec/std/json/serialization_spec.cr +++ b/spec/std/json/serialization_spec.cr @@ -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"))