We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fcfb2b commit 10c8905Copy full SHA for 10c8905
rust/catalyst-types/src/uuid/uuid_v4.rs
@@ -96,7 +96,7 @@ mod tests {
96
97
#[test]
98
fn test_invalid_version_uuid() {
99
- let invalid_version_uuid = UuidV4::from(Uuid::from_u128(0)); // Zero UUID is not valid.
+ let invalid_version_uuid = UuidV4::from(Uuid::from_u128(0));
100
assert!(
101
!invalid_version_uuid.is_valid(),
102
"Zero UUID should not be valid"
@@ -127,7 +127,7 @@ mod tests {
127
128
129
fn test_try_from_cbor_invalid_uuid() {
130
- let cbor_value = Value::Bytes(vec![0; 16]); // Zeroed-out UUID bytes
+ let cbor_value = Value::Bytes(vec![0; 16]);
131
let result = UuidV4::try_from(&cbor_value);
132
133
0 commit comments