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 for sentences containing a decade #747

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hippietrail
Copy link
Contributor

Issues

I only mentioned it in Discord when nobody else was active.

On builds straight from master I was seeing the 's' after decades like '1990s' flagged, even though my decade lexer has been merged.

Description

I checked the tests and we only had unit tests looking for edge cases. This adds a positive and a negative test against the sentence mentioned. Let me know if there's a better way to code them or if they belong in some other file. The other lexers in harper-core/src/lexing/mod.rs also didn't have any in-context tests.

How Has This Been Tested?

cargo test passes all tests but just test gives strange new errors I've never seen before, including creating supposed screenshot png's but those are all blank. I think this is something unrelated that's been pushed to master in the same timeframe my decade lexer was pushed??

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes

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.

1 participant