File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ http = { version = "0.2", optional = true }
47
47
hyper = { version = " ^0.14" , optional = true }
48
48
axum-lib = { version = " ^0.2" , optional = true , package = " axum" }
49
49
http-body = { version = " ^0.4" , optional = true }
50
- poem-lib = { version = " 1 " , optional = true , package = " poem" }
50
+ poem-lib = { version = " =1.2.34 " , optional = true , package = " poem" }
51
51
52
52
[target ."cfg(not(target_arch = \"wasm32\"))" .dependencies ]
53
53
hostname = " ^0.3"
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ mod tests {
57
57
58
58
let ( req, mut body) = req. split ( ) ;
59
59
let resp = Event :: from_request ( & req, & mut body) . await . err ( ) . unwrap ( ) ;
60
- assert_eq ! ( resp. status( ) , StatusCode :: BAD_REQUEST ) ;
60
+ assert_eq ! ( resp. as_response ( ) . status( ) , StatusCode :: BAD_REQUEST ) ;
61
61
assert_eq ! ( resp. to_string( ) , "Invalid specversion BAD SPECIFICATION" ) ;
62
62
}
63
63
You can’t perform that action at this time.
0 commit comments