ianlewis / lexparse

Experimental lexer/parser library written in Go
Apache License 2.0
0 stars 1 forks source link

test: Add ExampleLexParse test #15

Closed ianlewis closed 5 months ago

ianlewis commented 5 months ago

Adds a doc test that implements a basic template language.

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a6450f6) 83.56% compared to head (222ea00) 85.75%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/ianlewis/lexparse/pull/15/graphs/tree.svg?width=650&height=150&src=pr&token=PD7UEVGU5S&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis)](https://app.codecov.io/gh/ianlewis/lexparse/pull/15?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis) ```diff @@ Coverage Diff @@ ## main #15 +/- ## ========================================== + Coverage 83.56% 85.75% +2.19% ========================================== Files 3 3 Lines 365 365 ========================================== + Hits 305 313 +8 + Misses 46 37 -9 - Partials 14 15 +1 ``` [see 2 files with indirect coverage changes](https://app.codecov.io/gh/ianlewis/lexparse/pull/15/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis)