Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Aug 17, 2022
1 parent 5db491a commit 0aa093a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/wrapped_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,9 @@ mod test_context {

#[test]
fn test_get_type_yaml() {
let data = r##"
name: "Bob"
ag: 42
"##
.to_string();
let data = r##"name: "Bob"
ag: 42"##
.to_string();
assert!(WrappedContext::get_type(&data) == Some(SupportedType::Yaml));
}

Expand Down

0 comments on commit 0aa093a

Please sign in to comment.