supabase-community / postgres_lsp

A Language Server for Postgres
https://supabase.com
MIT License
3.24k stars 61 forks source link

feat: add snapshots test back #87

Closed cvng closed 9 months ago

cvng commented 9 months ago

What kind of change does this PR introduce?

follow-up for #82

What is the current behavior?

no snapshots test

What is the new behavior?

added snapshots test back in crates/parser/tests/statement_parser_test.rs

Additional context

With named tests, snapshots will be named like: create_table@1.snap (where 1 is the statement number in the file)

@psteinroe lmk what you think about the output