Make test_process_rest_api less fragile
This commit is contained in:
parent
93ed0ab2bb
commit
7526bb96f3
|
@ -480,11 +480,7 @@ mod tests {
|
|||
|
||||
assert_eq!(None, process_rest(&bank_forks, "not-a-supported-rest-api"));
|
||||
assert_eq!(
|
||||
Some("0.000010129".to_string()),
|
||||
process_rest(&bank_forks, "/v0/circulating-supply")
|
||||
);
|
||||
assert_eq!(
|
||||
Some("0.000010129".to_string()),
|
||||
process_rest(&bank_forks, "/v0/circulating-supply"),
|
||||
process_rest(&bank_forks, "/v0/total-supply")
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue