Skip to content

Commit 84badb6

Browse files
committed
Comment out more panicking tests
They no longer work in nightly rust as the cpp! macro use extern "c" which is not supposed to unwind
1 parent 4b6566c commit 84badb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qmetaobject/tests/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,6 @@ fn panic_when_moved_setter() {
748748
let my_obj = StupidObject::default();
749749
do_test(my_obj, "Item { function doTest() { _obj.prop_y = 45; } }");
750750
}
751-
*/
752751
753752
#[test]
754753
#[should_panic(expected = "There can only be one QmlEngine in the process")]
@@ -757,6 +756,7 @@ fn two_engines() {
757756
let _a = QmlEngine::new();
758757
let _b = QmlEngine::new();
759758
}
759+
*/
760760

761761
#[derive(QEnum)]
762762
#[repr(u8)]

0 commit comments

Comments
 (0)