snapshot of https://github.com/ActivityWatch/aw-server-rust.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Build / ubuntu-latest (push) Failing after 5s
Build / Android (push) Failing after 2s
Build / Code coverage (push) Failing after 2s
Lint / format (push) Failing after 3s
Lint / clippy (push) Failing after 3s
Build / macOS-latest (push) Has been cancelled
Build / windows-latest (push) Has been cancelled

This commit is contained in:
upstream-mirror
2026-09-16 00:19:17 +05:00
commit da934b693c
120 changed files with 26659 additions and 0 deletions

15
aw-server/tests/macros.rs Normal file
View File

@@ -0,0 +1,15 @@
#[macro_use]
extern crate serde_json;
#[macro_use]
extern crate aw_server;
#[cfg(test)]
mod macros_tests {
#[test]
fn test_json_map() {
json_map! {};
json_map! {"a": json!(1)};
json_map! {"a": json!(1), "b": json!(2)};
}
}