Skip to content

Commit

Permalink
PR: add test description text
Browse files Browse the repository at this point in the history
  • Loading branch information
shua committed Jul 1, 2024
1 parent 21008a3 commit 61cf9b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ fn basic_adt_variant_dup() {
}
]

[ /* TODO */ ]
[ r#"variant "Baz" defined multiple times"#, ]

expect_test::expect![[r#"variant "Baz" defined multiple times"#]]
)
Expand All @@ -165,12 +165,13 @@ fn basic_adt_field_dup() {
}
]

[ /* TODO */ ]
[ r#"field "baz" of variant "struct" defined multiple times"#, ]

expect_test::expect![[r#"field "baz" of variant "struct" defined multiple times"#]]
)
}

#[test]
fn trait_items_with_duplicate_fn_names() {
crate::assert_err!(
[
Expand Down

0 comments on commit 61cf9b5

Please sign in to comment.