mirror of https://github.com/rwf2/Rocket.git
Add additional large port integer test
This commit is contained in:
parent
d112c171c3
commit
dc248afb3c
|
@ -601,6 +601,11 @@ mod test {
|
|||
[staging]
|
||||
port = 65536
|
||||
"#.to_string(), TEST_CONFIG_FILENAME).is_err());
|
||||
|
||||
assert!(RocketConfig::parse(r#"
|
||||
[staging]
|
||||
port = 105836
|
||||
"#.to_string(), TEST_CONFIG_FILENAME).is_err());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in New Issue