Update lexer tests to use snapshots (#6658)

## Summary

This PR updates the lexer tests to use the snapshot testing framework.
It also
makes the following changes:
* Remove the use of macros in the lexer tests
* Use `test_case` for EOL tests

## Test Plan

```
cargo test --package ruff_python_parser --lib --all-features -- lexer::tests --no-capture
```
This commit is contained in:
Dhruv Manilawala 2023-08-22 23:53:19 +05:30 committed by GitHub
parent e53bf25616
commit fb7caf43c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 666 additions and 667 deletions

File diff suppressed because it is too large Load diff