jwiegley / gitlib

180 stars 56 forks source link

gitlib-test fails to build with --enable-tests #3

Closed borsboom closed 11 years ago

borsboom commented 11 years ago
$ cabal configure --enable-tests
Resolving dependencies...
Configuring gitlib-test-1.0.1...
$ cabal build
Building gitlib-test-1.0.1...
Preprocessing library gitlib-test-1.0.1...
In-place registering gitlib-test-1.0.1...
Preprocessing test suite 'sanity' for gitlib-test-1.0.1...
[1 of 1] Compiling Main             ( test/Sanity.hs, dist/build/sanity/sanity-tmp/Main.o )

test/Sanity.hs:140:5:
    Number of parameters must match family declaration; expected 1
    In the type synonym instance declaration for `Git.TreeRepository'
    In the instance declaration for `Git.Treeish Tree'

test/Sanity.hs:145:5:
    Number of parameters must match family declaration; expected 1
    In the type synonym instance declaration for `Git.CommitRepository'
    In the instance declaration for `Git.Commitish Commit'

test/Sanity.hs:151:5:
    Number of parameters must match family declaration; expected 1
    In the type synonym instance declaration for `Git.TreeRepository'
    In the instance declaration for `Git.Treeish Commit'
jwiegley commented 11 years ago

Fixed.