spec/edn_spec.rb in edn-1.0.1 vs spec/edn_spec.rb in edn-1.0.2

- old
+ new

@@ -17,9 +17,14 @@ EDN.read('false').should == false EDN.read('nil').should == nil EDN.read('\c').should == "c" end + it "should support M suffix without decimals" do + EDN.read(123412341231212121241234.to_edn).should == 123412341231212121241234 + EDN.read("123412341231212121241234M").should == 123412341231212121241234 + end + it "reads #inst tagged elements" do EDN.read('#inst "2012-09-10T16:16:03-04:00"').should == DateTime.new(2012, 9, 10, 16, 16, 3, '-04:00') end it "reads vectors" do