another test

This commit is contained in:
Bryan Stitt 2023-07-06 04:04:12 -07:00
parent 0e51a7ca2e
commit 5d3751ea88

@ -302,7 +302,16 @@ mod tests {
use super::Web3RpcConfig;
#[test]
fn expected_defaults() {
fn expected_app_defaults() {
let a: AppConfig = serde_json::from_str("{}").unwrap();
let b: AppConfig = Default::default();
assert_eq!(a, b);
}
#[test]
fn expected_rpc_defaults() {
let a: Web3RpcConfig = serde_json::from_str("{}").unwrap();
assert_eq!(a.soft_limit, 1);