Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions idris-dependents/tests/scan_edge_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,9 @@ fn raw_content_fetches_retry_rate_limits_and_propagate_hard_failures() {
false,
vec![item("alice/app", "a.ipkg", "contents/a")],
);
io.respond("contents/a", true, Ok(response(404, &[], "")));
io.respond("contents/a", true, Ok(response(500, &[], "")));
let error = run(&options(), &mut io).unwrap_err().to_string();
assert!(error.contains("HTTP 404 for contents/a"), "{error}");
assert!(error.contains("HTTP 500 for contents/a"), "{error}");
io.done();
}

Expand Down Expand Up @@ -440,6 +440,7 @@ fn report_json_keeps_public_field_names_and_confidence_spelling() {
"confidence": "MEDIUM",
}],
"incompleteQueries": [],
"skippedUrls": [],
})
);
io.done();
Expand Down
1 change: 1 addition & 0 deletions idris-dependents/tests/scan_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ fn ready_mock() -> Mock {
Mock {
searches: BTreeMap::new(),
contents: BTreeMap::new(),
responses: BTreeMap::new(),
limited_once: true,
logs: vec![],
gets: 0,
Expand Down
Loading