Skip to content

Commit

Permalink
fix(test): allow newlines in between test name and attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed May 5, 2024
1 parent 1e219ff commit 33045ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ lazy_static! {
(?P<equals>(?:=+){3,})
(?P<suffix1>[^=\r\n][^\r\n]*)?
\r?\n
(?P<test_name_and_markers>(?:[^=\r\n][^\r\n]*\r?\n)+)
(?P<test_name_and_markers>(?:[^=][^\r\n]*\r?\n)+)
===+
(?P<suffix2>[^=\r\n][^\r\n]*)?\r?\n"
)
Expand Down

0 comments on commit 33045ee

Please sign in to comment.