Skip to content

Commit

Permalink
Comment out more panicking tests
Browse files Browse the repository at this point in the history
They no longer work in nightly rust as the cpp! macro use extern "c"
which is not supposed to unwind
  • Loading branch information
ogoffart committed Aug 5, 2024
1 parent 4b6566c commit 84badb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qmetaobject/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,6 @@ fn panic_when_moved_setter() {
let my_obj = StupidObject::default();
do_test(my_obj, "Item { function doTest() { _obj.prop_y = 45; } }");
}
*/
#[test]
#[should_panic(expected = "There can only be one QmlEngine in the process")]
Expand All @@ -757,6 +756,7 @@ fn two_engines() {
let _a = QmlEngine::new();
let _b = QmlEngine::new();
}
*/

#[derive(QEnum)]
#[repr(u8)]
Expand Down

0 comments on commit 84badb6

Please sign in to comment.