Skip to content

Commit e912556

Browse files
committed
Remove useless assert in tests
The value is tested to be equal to Some(12), so it is impractical to test it against anything else.
1 parent 434565e commit e912556

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

qmetaobject/tests/tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,5 +1066,4 @@ fn test_setting_context_object() {
10661066
let res = _app.invoke_method("doTest".into(), &[]);
10671067
let res: Option<i32> = QMetaType::from_qvariant(res);
10681068
assert_eq!(res, Some(12));
1069-
assert_ne!(res, Some(10));
10701069
}

0 commit comments

Comments
 (0)