Skip to content

Commit

Permalink
Fix typo in plugin_sm tests
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
  • Loading branch information
Bravo555 committed Feb 21, 2023
1 parent 66a0013 commit 00afa4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/core/plugin_sm/tests/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ mod tests {

#[test_case("abc", Some("1.0") ; "with version")]
#[test_case("abc",None ; "without version")]
fn desrialize_plugin_result(module_name: &str, version: Option<&str>) {
fn deserialize_plugin_result(module_name: &str, version: Option<&str>) {
let mut data = String::from(module_name);
if let Some(v) = version {
data.push('\t');
Expand All @@ -66,7 +66,7 @@ mod tests {
}

#[test]
fn desrialize_plugin_result_with_trailing_tab() {
fn deserialize_plugin_result_with_trailing_tab() {
let data = "abc\t";

let expected_software_list = vec![SoftwareModule {
Expand Down

0 comments on commit 00afa4f

Please sign in to comment.