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

investigate scalacheck failure 20230625T112756 #508

Open
johnynek opened this issue Jun 25, 2023 · 0 comments
Open

investigate scalacheck failure 20230625T112756 #508

johnynek opened this issue Jun 25, 2023 · 0 comments

Comments

@johnynek
Copy link
Collaborator

==> X cats.parse.ParserTest.parse between open and close with Parser this  0.146s munit.ComparisonFailException: /home/runner/work/cats-parse/cats-parse/core/shared/src/test/scala/cats/parse/ParserTest.scala:1729
1728:
1729:      assertEquals(pa.parse(str), pb.parse(str))
1730:    }
values are not the same
=> Obtained
Left(
  Error(
    0,
    NonEmptyList(
      OneOfStr(
        0,
        List(
          "BB"
        )
      ),
      Nil
    )
  )
)
=> Diff (- obtained, + expected)
       ),
-      Nil
+      List(
+        WithContext(
+          "妯堢\u1ab0塱漿\uf26fᶵ氣㮍恤",
+          OneOfStr(
+            0,
+            List(
+              "Ҝﶂ\uf3e5先\u32ca\ue7a0"
+            )
+          )
+        )
+      )
     )

Failing seed: dRxSpF-stS-6EpcFMUT-Kt9nvNqoXO4RS9F7ka860UN=
You can reproduce this failure by adding the following override to your suite:

  override val scalaCheckInitialSeed = "dRxSpF-stS-6EpcFMUT-Kt9nvNqoXO4RS9F7ka860UN="

Falsified after 1447 passed tests.
> ARG_0: GenT(Map(Str(BB),ConstFn(BB)))
> ARG_1: GenT(Map0(Prod0(Not(Str(E6V,7<uNDcO]y7+E(c+?q4TFx#gti,8euZJ3W|&XQ]to,-S`L#kUZ`kD~)),Map0(OneOf0(List(Map0(WithContextP0(妯堢᪰塱漿ᶵ氣㮍恤,Str(Ҝﶂ先㋊)),ConstFn(쒔)), Map0(GetCaret,<function1>))),<function1>)),<function1>))
> ARG_2: GenT(FailWith(䠗킜₩࢞怠톍㚩䚋窶䱪䏾먌㰅燏늃鬃ﳣ艍⳽⩟㢫ॷ⏩䏊㻀溧쪒䛛捀䕆飺ᝄ髞༙蟧屏汅⁇뜟))
> ARG_3: ""
> ARG_3_ORIGINAL: "BaB"
    at munit.ComparisonFailException.withMessage(ComparisonFailException.scala:48)
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