Skip to content

Commit

Permalink
Fix unit test that now displays the URI
Browse files Browse the repository at this point in the history
  • Loading branch information
rdettai committed Jun 12, 2024
1 parent c61c2e4 commit 24887c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quickwit/quickwit-cli/src/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -753,9 +753,10 @@ mod tests {
source_type: "file".to_string(),
enabled: "true".to_string(),
}];
let expected_uri = Uri::from_str("path/to/file").unwrap();
let expected_params = vec![ParamsRow {
key: "filepath".to_string(),
value: JsonValue::String("path/to/file".to_string()),
value: JsonValue::String(expected_uri.to_string()),
}];
let expected_checkpoint = vec![
CheckpointRow {
Expand Down

0 comments on commit 24887c6

Please sign in to comment.