diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-27 22:53:34 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-27 22:54:02 +0300 |
| commit | 5a61ae2f9d89320c2e91d58fc3646b5a6a88f44a (patch) | |
| tree | 5a627b659542cc3b881e50de1b57e10f1736a198 /tests/api_ping.rs | |
| parent | d7879fafe80933ce962f1e029992e47a4eafc69d (diff) | |
feat: add status command
Diffstat (limited to 'tests/api_ping.rs')
| -rw-r--r-- | tests/api_ping.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/api_ping.rs b/tests/api_ping.rs index b8de04f3..a0e2d33b 100644 --- a/tests/api_ping.rs +++ b/tests/api_ping.rs @@ -223,6 +223,7 @@ fn ping_over_socket_returns_version() { assert_eq!(value["id"], "req_1"); assert_eq!(value["result"]["type"], "pong"); assert_eq!(value["result"]["version"], env!("CARGO_PKG_VERSION")); + assert_eq!(value["result"]["protocol"], 2); cleanup_spawned_herdr(child, base); } |
