rust-analyzer / expect-test

Minimalistic snapshot testing for Rust.
Apache License 2.0
248 stars 22 forks source link

Handle some cases where "]]" appears in a string literal #21

Closed ecstatic-morse closed 2 years ago

ecstatic-morse commented 2 years ago

A partial fix for #20.

ecstatic-morse commented 2 years ago

expect allows for the literal to be omitted entirely, so I'll have to handle that edge-case as well. One sec.

lnicola commented 2 years ago

We're almost regex-free in rust-analyzer, I wish we could avoid it here. But we could at least disable its default features to speed up compile times a little.