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
16 lines
261 B
Rust
16 lines
261 B
Rust
#[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)};
|
|
}
|
|
}
|