Skip to content

Conversation

@lukaszsamson
Copy link
Contributor

This PR adds property tests that generate random strings in various elixir contexts.
Assumptions:
in tolerant mode

  1. if original parser returns ok, spitfire has to return exactly the same AST
  2. if the original parser crashes or errors, spitfire may not crash
    in strict mode
  3. if original parser returns ok, spitfire has to return exactly the same AST
  4. if the original parser crashes or errors skip spitfire and assume the case passed

@mhanberg mhanberg changed the title Add simple character based property test test: simple character based property test Jan 31, 2026
@mhanberg mhanberg force-pushed the ls-char-property-tests branch from 18a637e to ccd9a5f Compare February 9, 2026 12:53
@mhanberg
Copy link
Contributor

@doorgan some of the property failures in this one are related to not correctly counting new lines in some places.

@doorgan
Copy link
Contributor

doorgan commented Feb 10, 2026

Yes, I'm taking a look at this one now

@doorgan doorgan force-pushed the ls-char-property-tests branch from ccd9a5f to e85bdd3 Compare February 10, 2026 17:18
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.

3 participants