Skip to content

Commit

Permalink
Fix testing invalid path for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
BenFordTytherington authored and LeonMatthesKDAB committed Aug 30, 2024
1 parent aa89330 commit ad33e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cxx-qt-gen/src/parser/trait_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ mod tests {
// Invalid trait name
{ impl cxx_qt::AnotherTrait for QObject {} }
// Invalid Path to self type
{ impl cxx_qt::Threading for incorrect::path::QObject {} }
{ impl cxx_qt::Threading for *mut QObject{} }

{
// Attributes are not allowed
Expand Down

0 comments on commit ad33e22

Please sign in to comment.