Skip to content

Test doesn't build with quickcheck-instances 0.3.28 #59

@felixonmars

Description

@felixonmars

We should probably tighten the bounds to >= 0.3.29

[1 of 1] Compiling Main             ( test/Tests.hs, dist/build/binary-orphans-test/binary-orphans-test-tmp/Main.dyn_o )

test/Tests.hs:30:5: error:
    • No instance for (Test.QuickCheck.Arbitrary.Arbitrary ByteArray)
        arising from a use of ‘testProperty’
      There are instances for similar types:
        instance Test.QuickCheck.Arbitrary.Arbitrary
                   primitive-0.7.4.0:Data.Primitive.ByteArray.ByteArray
          -- Defined in ‘Test.QuickCheck.Instances.Primitive’
    • In the first argument of ‘($)’, namely ‘testProperty "ByteArray"’
      In the expression:
        testProperty "ByteArray" $ roundtrip (Proxy :: Proxy ByteArray)
      In the second argument of ‘testGroup’, namely
        ‘[testProperty "Natural" $ roundtrip (Proxy :: Proxy Natural),
          testProperty "Sum Int" $ roundtrip (Proxy :: Proxy (Sum Int)),
          testProperty "Min Int" $ roundtrip (Proxy :: Proxy (Min Int)),
          testProperty "Solo Int" $ roundtrip (Proxy :: Proxy (Solo Int)),
          ....]’
   |
30 |   , testProperty "ByteArray"       $ roundtrip (Proxy :: Proxy ByteArray)
   |     ^^^^^^^^^^^^^^^^^^^^^^^^ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions