Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support tasty-1.5 #10

Open
Bodigrim opened this issue Sep 10, 2023 · 0 comments
Open

Support tasty-1.5 #10

Bodigrim opened this issue Sep 10, 2023 · 0 comments

Comments

@Bodigrim
Copy link

tasty-test-reporter-0.1.1.4$ cabal build -c 'tasty>=1.5' --allow-newer
Resolving dependencies...
Build profile: -w ghc-9.6.2 -O1
In order, the following will be built (use -v for more details):
 - junit-xml-0.1.0.3 (lib) (requires download & build)
 - tasty-test-reporter-0.1.1.4 (lib) (first run)
Downloading  junit-xml-0.1.0.3
Downloaded   junit-xml-0.1.0.3
Starting     junit-xml-0.1.0.3 (lib)
Building     junit-xml-0.1.0.3 (lib)
Installing   junit-xml-0.1.0.3 (lib)
Completed    junit-xml-0.1.0.3 (lib)
Configuring library for tasty-test-reporter-0.1.1.4...
Preprocessing library for tasty-test-reporter-0.1.1.4...
Building library for tasty-test-reporter-0.1.1.4...
[1 of 3] Compiling Paths_tasty_test_reporter
[2 of 3] Compiling Test.Console.Color
[3 of 3] Compiling Test.Tasty.Runners.Reporter

src/Test/Tasty/Runners/Reporter.hs:192:35: error: [GHC-83865]
    • Couldn't match type: GroupNames -> TraversalT StateIO Summary
                     with: [GroupNames -> TraversalT StateIO Summary]
      Expected: Tasty.TestName
                -> [GroupNames -> TraversalT StateIO Summary]
                -> GroupNames
                -> TraversalT StateIO Summary
        Actual: String
                -> (GroupNames -> TraversalT StateIO Summary)
                -> GroupNames
                -> TraversalT StateIO Summary
    • In the expression: runGroup
      In the expression: \ _ -> runGroup
      In a record update at fields ‘Tasty.foldSingle’, ‘Tasty.foldGroup’,
      with type constructor ‘Tasty.TreeFold’
      and data constructor ‘Tasty.TreeFold’.
    |
192 |           Tasty.foldGroup = \_ -> runGroup
    |                                   ^^^^^^^^
Error: cabal: Failed to build tasty-test-reporter-0.1.1.4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant