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

hspec-expectations-pretty-diff test failure #316

Closed
3 tasks
jkachmar opened this issue Mar 2, 2021 · 1 comment
Closed
3 tasks

hspec-expectations-pretty-diff test failure #316

jkachmar opened this issue Mar 2, 2021 · 1 comment

Comments

@jkachmar
Copy link
Contributor

jkachmar commented Mar 2, 2021

On LTS-17.5, the hspec-expectations-pretty-diff test suite fails with the following errors:

    Failures:

      test/Test/Hspec/Expectations/PrettySpec.hs:35:7:
      1) Test.Hspec.Expectations.Pretty.shouldBe fails if arguments are not equal
           predicate failed on expected exception: HUnitFailure (HUnitFailure (Just (SrcLoc {srcLocPackage = "main", srcLocModule = "Test.Hspec.Expectations.PrettySpec", srcLocFi
le = "test/Test/Hspec/Expectations/PrettySpec.hs", srcLocStartLine = 35, srcLocStartCol = 8, srcLocEndLine = 35, srcLocEndCol = 167})) (Reason "   \ESC[0mObject\ESC[0m\ESC[0m \ES
C[0m\ESC[36m(\ESC[0m\ESC[0mfromList\ESC[0m\ESC[0m \ESC[0m\ESC[31m[\ESC[0m\ESC[0m\n   \ESC[0m\ESC[0m    \ESC[0m\ESC[36m(\ESC[0m\ESC[35m\"foo\"\ESC[0m\ESC[36m,\ESC[0m\ESC[0m\n   \E
SC[0m\ESC[0m    \ESC[0m\ESC[0mObject\ESC[0m\ESC[0m \ESC[0m\ESC[36m(\ESC[0m\ESC[0mfromList\ESC[0m\ESC[0m \ESC[0m\ESC[31m[\ESC[0m\ESC[0m\n   \ESC[0m\ESC[0m        \ESC[0m\ESC[36m(\
ESC[0m\ESC[35m\"bar\"\ESC[0m\ESC[36m,\ESC[0m\ESC[0m\n\ESC[31m---\ESC[0m\ESC[0m\ESC[0m        \ESC[0m\ESC[0mNumber\ESC[0m\ESC[0m \ESC[0m\ESC[35m234.0\ESC[0m\ESC[36m)\ESC[0m\ESC[36
m,\ESC[0m\ESC[0m\n\ESC[31m---\ESC[0m\ESC[0m\ESC[0m        \ESC[0m\ESC[36m(\ESC[0m\ESC[35m\"quux\"\ESC[0m\ESC[36m,\ESC[0m\ESC[0m\n\ESC[31m---\ESC[0m\ESC[0m\ESC[0m        \ESC[0m\E
SC[0mNumber\ESC[0m\ESC[0m \ESC[0m\ESC[35m567.0\ESC[0m\ESC[36m)\ESC[0m\ESC[0m\n\ESC[32m+++\ESC[0m\ESC[0m\ESC[0m        \ESC[0m\ESC[0mNumber\ESC[0m\ESC[0m \ESC[0m\ESC[35m123.0\ESC[
0m\ESC[36m)\ESC[0m\ESC[0m\n   \ESC[0m\ESC[0m    \ESC[0m\ESC[31m]\ESC[0m\ESC[36m)\ESC[0m\ESC[36m)\ESC[0m\ESC[0m\n   \ESC[0m\ESC[31m]\ESC[0m\ESC[36m)\ESC[0m\n"))

      To rerun use: --match "/Test.Hspec.Expectations.Pretty/shouldBe/fails if arguments are not equal/"

    Randomized with seed 16298725

    Finished in 0.0035 seconds
    33 examples, 1 failure

This appears to be related to:

@jkachmar jkachmar changed the title mmark-ext test failure hspec-expectations-pretty-diff test failure Mar 3, 2021
@juhp
Copy link
Contributor

juhp commented Apr 19, 2021

We could probably close this in favor of the upstream issue?

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

3 participants