Skip to content

Commit

Permalink
Remove useless assert in tests
Browse files Browse the repository at this point in the history
The value is tested to be equal to Some(12), so it is impractical to
test it against anything else.
  • Loading branch information
ratijas committed Jan 4, 2022
1 parent 434565e commit e912556
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion qmetaobject/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1066,5 +1066,4 @@ fn test_setting_context_object() {
let res = _app.invoke_method("doTest".into(), &[]);
let res: Option<i32> = QMetaType::from_qvariant(res);
assert_eq!(res, Some(12));
assert_ne!(res, Some(10));
}

0 comments on commit e912556

Please sign in to comment.