Home
last modified time | relevance | path

Searched refs:WhoopsForm (Results 1 – 1 of 1) sorted by relevance

/dports/security/vaultwarden/Rocket-263e39b5b429de1913ce7e3036575a7b4d88b6d7/core/codegen/tests/
H A Dfrom_form.rs289 struct WhoopsForm { struct
296 let form: Result<WhoopsForm, _> = strict("complete=true&other=781"); in form_errors() argument
297 assert_eq!(form, Ok(WhoopsForm { complete: true, other: 781 })); in form_errors()
299 let form: Result<WhoopsForm, _> = strict("complete=true&other=unknown"); in form_errors()
302 let form: Result<WhoopsForm, _> = strict("complete=unknown&other=unknown"); in form_errors()
305 let form: Result<WhoopsForm, _> = strict("complete=true&other=1&extra=foo"); in form_errors()
309 let form: Result<WhoopsForm, _> = strict("complete=unknown&unknown=foo"); in form_errors()
313 let form: Result<WhoopsForm, _> = strict("complete=true&unknown=foo"); in form_errors()
317 let form: Result<WhoopsForm, _> = strict("complete=true"); in form_errors()