Readd missing config address test.

This commit is contained in:
Sergio Benitez 2017-02-14 23:34:27 -08:00
parent 0c963da1fd
commit d8b90ebf5f
1 changed files with 6 additions and 0 deletions

View File

@ -638,6 +638,12 @@ mod test {
default_config(Development).address("localhost")
});
check_config!(RocketConfig::parse(r#"
[development]
address = "127.0.0.1"
"#.to_string(), TEST_CONFIG_FILENAME), {
default_config(Development).address("127.0.0.1")
});
check_config!(RocketConfig::parse(r#"
[development]