Changed config.json to client_config.json.
This commit is contained in:
parent
6191e53350
commit
fb7853fbcd
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue