sophiajt / new-nu-parser

23 stars 10 forks source link

Set up snapshot testing for AST output #5

Closed sholderbach closed 11 months ago

sholderbach commented 11 months ago

We are still moving fast and breaking things, before we set up super stringent tests maybe let's validate the output of the parser for changes.

I simply took what cargo run would output for the different example files and made those the initial snapshots. Some of them still contain garbage. As soon as we fix those the snapshots can be updated.