We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8873e6a commit 6aecfa0Copy full SHA for 6aecfa0
src/web/rustdoc.rs
@@ -866,6 +866,29 @@ mod test {
866
})
867
}
868
869
+ #[test]
870
+ fn no_target_target_redirect_404s() {
871
+ wrapper(|env| {
872
+ assert_eq!(
873
+ env.frontend()
874
+ .get("/crate/dummy/0.1.0/target-redirect")
875
+ .send()?
876
+ .status(),
877
+ StatusCode::NOT_FOUND
878
+ );
879
+
880
881
882
+ .get("/crate/dummy/0.1.0/target-redirect/")
883
884
885
886
887
888
+ Ok(())
889
+ })
890
+ }
891
892
#[test]
893
fn platform_links_go_to_current_path() {
894
fn get_platform_links(
0 commit comments