Skip to content

Commit 6d4af12

Browse files
committed
Fix previous commit which used the wrong constant
1 parent 6e98657 commit 6d4af12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ mod tests {
247247
.ok()
248248
.expect("No body");
249249

250-
assert_eq!(response.status(), StatusCode::NOT_FOUND);
250+
assert_eq!(response.status(), StatusCode::NOT_MODIFIED);
251251
assert_eq!(body, b"");
252252
}
253253

0 commit comments

Comments
 (0)