Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Bindseil <marcelbindseil@gmail.com>
  • Loading branch information
bindsi committed Jan 22, 2025
1 parent c14d2fe commit be86a9c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions discovery-handlers/udev/src/discovery_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,6 @@ mod tests {
permissions: xyz
"#;
let config: UdevDiscoveryDetails = deserialize_discovery_details(yaml).unwrap();
assert_eq!(
config,
Err(de::Error::invalid_value(
de::Unexpected::Str(&value),
&"a valid permission combination ('r', 'w', 'm', 'rw', 'rm', 'rwm', 'wm')",
))
);
assert_eq!(&config.permissions, "xyz")
}
}

0 comments on commit be86a9c

Please sign in to comment.