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

feat: tests -> IndentationTests -> add #227

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

srghma
Copy link
Member

@srghma srghma commented Sep 29, 2024

Description of the change

I added tests to learn the library


Checklist:

  • Added the change to the changelog's "Unreleased" section with a link to this PR and your username
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation in the README and/or documentation directory
  • Added a test for the contribution (if applicable)

@@ -464,6 +465,9 @@ instance Show Position where
instance Eq Position where
eq (Position l) (Position r) = l.index == r.index

eqPositionFull :: Position -> Position -> Boolean
eqPositionFull (Position l) (Position r) = l.index == r.index && l.line == r.line && l.column == r.column
Copy link
Member

Choose a reason for hiding this comment

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

Maybe this should be the Eq instance? What do you think?

Copy link
Member

@jamesdbrock jamesdbrock left a comment

Choose a reason for hiding this comment

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

Notes:

Tests failed on format check.

We had a way to test purs-backend-es with spago-dev.dhall and we should also have a way to do that with spago.yaml.

@jamesdbrock jamesdbrock merged commit 0dbfe47 into purescript-contrib:main Sep 30, 2024
1 check failed
@jamesdbrock
Copy link
Member

Thanks @srghma !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants