Skip to content

Commit

Permalink
fix http_server tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pront committed Jul 12, 2023
1 parent b621e4d commit 3569542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sources/http_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -964,8 +964,8 @@ mod tests {
lookup::PathPrefix::Event,
log_schema().source_type_key().unwrap(),
))
.unwrap();
assert_eq!(source_type_key_value.to_string(), SimpleHttpConfig::NAME);
.unwrap().as_str().unwrap();
assert_eq!(source_type_key_value, SimpleHttpConfig::NAME);
assert_eq!(log["http_path"], "/".into());
}

Expand Down

0 comments on commit 3569542

Please sign in to comment.