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

Added tests from a bug report #4207

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Conversation

Soupstraw
Copy link
Contributor

@Soupstraw Soupstraw commented Mar 19, 2024

Description

Added some deserialization tests from #4198.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
    versioning process.
  • The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
  • All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
  • Code is formatted with fourmolu (use scripts/fourmolize.sh)
  • Cabal files are formatted (use scripts/cabal-format.sh)
  • hie.yaml has been updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

@Soupstraw Soupstraw changed the title Added test for a deserialization bug Added tests for a deserialization bug Mar 19, 2024
@Soupstraw Soupstraw force-pushed the jj/collateral-deserialise-bug branch 2 times, most recently from 5c715f0 to 354161c Compare March 20, 2024 11:18
@Soupstraw Soupstraw changed the title Added tests for a deserialization bug Added tests from a bug report Mar 22, 2024
Copy link
Contributor

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

Side note, I have no idea how to reproduce the bug in #4198 nor do I have any thoughts on how such behavior could be explained

@Soupstraw Soupstraw force-pushed the jj/collateral-deserialise-bug branch 5 times, most recently from 7322f7c to 900a896 Compare April 3, 2024 09:49
@Soupstraw Soupstraw requested a review from lehins April 3, 2024 10:43
@Soupstraw Soupstraw force-pushed the jj/collateral-deserialise-bug branch from 900a896 to 9473720 Compare April 3, 2024 10:44
Copy link
Contributor

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't exactly test the bug described in #4198, but it doesn't mean we can't keep this test around.

@Soupstraw Soupstraw force-pushed the jj/collateral-deserialise-bug branch 4 times, most recently from 9473720 to 431cc2f Compare April 4, 2024 11:04
@Soupstraw Soupstraw force-pushed the jj/collateral-deserialise-bug branch from 431cc2f to 7be10f5 Compare April 4, 2024 11:05
@Soupstraw Soupstraw merged commit 6edffa2 into master Apr 4, 2024
15 checks passed
@Soupstraw Soupstraw deleted the jj/collateral-deserialise-bug branch April 4, 2024 14:52
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

Successfully merging this pull request may close these issues.

None yet

2 participants