Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2fb8fd3

Browse files
jshasyphar
authored andcommittedFeb 4, 2023
Fix test
1 parent 4d8b55d commit 2fb8fd3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
 

‎src/web/rustdoc.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2397,15 +2397,12 @@ mod test {
23972397
.unwrap()
23982398
.contains("noindex"));
23992399

2400-
assert!(!web
2400+
assert!(web
24012401
.get("/dummy/latest/dummy/")
24022402
.send()?
24032403
.headers()
24042404
.get("x-robots-tag")
2405-
.unwrap_or_default()
2406-
.to_str()
2407-
.unwrap()
2408-
.contains("noindex"));
2405+
.is_none());
24092406
Ok(())
24102407
})
24112408
}

0 commit comments

Comments
 (0)
Please sign in to comment.