Merge pull request #2434 from amaanq/test-update

fix: retain header and divider delimiter lengths when updating tests
This commit is contained in:
Amaan Qureshi 2023-07-27 13:40:53 -04:00 committed by GitHub
commit b8f7645ae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 90 additions and 24 deletions

View file

@ -502,6 +502,7 @@ fn flatten_tests(test: TestEntry) -> Vec<FlattenedTest> {
input,
output,
has_fields,
..
} => {
if !prefix.is_empty() {
name.insert_str(0, " - ");