Changed config.json to client_config.json.

This commit is contained in:
Aaron Weiss 2015-01-13 03:01:18 -05:00
parent 6191e53350
commit fb7853fbcd
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
echo "{\"owners\": [\"test\"],\"nickname\": \"test\",\"username\": \"test\",\"realname\": \"test\",\"password\": \"\",\"server\": \"irc.test.net\",\"port\": 6667,\"use_ssl\": false,\"encoding\": \"UTF-8\",\"channels\": [\"#test\", \"#test2\"],\"options\": {}}" > config.json
echo "{\"owners\": [\"test\"],\"nickname\": \"test\",\"username\": \"test\",\"realname\": \"test\",\"password\": \"\",\"server\": \"irc.test.net\",\"port\": 6667,\"use_ssl\": false,\"encoding\": \"UTF-8\",\"channels\": [\"#test\", \"#test2\"],\"options\": {}}" > client_config.json

View file

@ -190,7 +190,7 @@ mod test {
user_info: None,
options: Some(HashMap::new()),
};
assert_eq!(Config::load(Path::new("config.json")), Ok(cfg));
assert_eq!(Config::load(Path::new("client_config.json")), Ok(cfg));
}
#[test]
@ -211,7 +211,7 @@ mod test {
user_info: None,
options: Some(HashMap::new()),
};
assert_eq!(Config::load_utf8("config.json"), Ok(cfg));
assert_eq!(Config::load_utf8("client_config.json"), Ok(cfg));
}