We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29022c3 commit 483461dCopy full SHA for 483461d
tests/clientspec.rs
@@ -47,7 +47,7 @@ mod tests {
47
}
48
_ => false,
49
},
50
- None => other.payload.get("type").is_none() && other.payload.get("value").is_none(),
+ None => !other.payload.contains_key("type") && !other.payload.contains_key("value"),
51
};
52
self.enabled == other.enabled && self._name == other.name && payload_matches
53
0 commit comments