We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8364381 commit 0172c3bCopy full SHA for 0172c3b
clash-lib/tests/smoke_tests.rs
@@ -65,7 +65,7 @@ async fn smoke_test() {
65
"Curl command failed with output: {}",
66
String::from_utf8_lossy(&output.stderr)
67
);
68
- assert_eq!(mock.hits(), 1, "Mock server was not hit exactly once");
+ assert_eq!(mock.calls(), 1, "Mock server was not hit exactly once");
69
assert_eq!(
70
String::from_utf8_lossy(&output.stdout),
71
"Mock response for testing",
@@ -91,7 +91,7 @@ async fn smoke_test() {
91
92
93
94
- assert_eq!(mock.hits(), 2, "Mock server was not hit exactly twice");
+ assert_eq!(mock.calls(), 2, "Mock server was not hit exactly twice");
95
96
97
0 commit comments