Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
ranfdev committed Feb 18, 2022
1 parent 427ad4b commit 33da4d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion glib/src/param_spec.rs
Expand Up @@ -1624,8 +1624,9 @@ mod tests {

#[test]
fn test_param_spec_int_builder() {
let pspec = ParamSpecIntBuilder::new("name")
let pspec = ParamSpecInt::builder("name")
.blurb("Simple int parameter")
.minimum(-2)
.build();

assert_eq!(pspec.name(), "name");
Expand Down

0 comments on commit 33da4d4

Please sign in to comment.