@@ -92,12 +92,7 @@ main = hspec $ do
9292
9393 describe "pretty output" $ do
9494 it "simple nulls" $ D.encode (object ["foo" .= D.Null]) `shouldBe` "foo: null\n"
95− it "simple numbers" $ D.encode (object ["foo" .= (4 :: Int)]) `shouldBe`
96−#if MIN_VERSION_aeson(0, 7, 0)
97− "foo: 4.0\n" -- FIXME should this be reported as a bug upstream to aeson?
98−#else
99− "foo: 4\n"
100−#endif
95+ it "simple numbers" $ D.encode (object ["foo" .= (4 :: Int)]) `shouldBe` "foo: 4\n"
10196 it "True" $ D.encode (object ["foo" .= True]) `shouldBe` "foo: true\n"
10297 it "False" $ D.encode (object ["foo" .= False]) `shouldBe` "foo: false\n"
10398 it "simple string" $ D.encode (object ["foo" .= ("bar" :: T.Text)]) `shouldBe` "foo: bar\n"