Add additional large port integer test

This commit is contained in:
Dru Sellers 2017-01-09 13:15:50 -06:00
parent d112c171c3
commit dc248afb3c
1 changed files with 5 additions and 0 deletions

View File

@ -601,6 +601,11 @@ mod test {
[staging] [staging]
port = 65536 port = 65536
"#.to_string(), TEST_CONFIG_FILENAME).is_err()); "#.to_string(), TEST_CONFIG_FILENAME).is_err());
assert!(RocketConfig::parse(r#"
[staging]
port = 105836
"#.to_string(), TEST_CONFIG_FILENAME).is_err());
} }
#[test] #[test]