surrealdb-core-nightly 2.1.20250124

A nightly release of the surrealdb-core crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::syn::parser::mac::test_parse;

#[test]
fn object_with_negative() {
	test_parse!(parse_json, r#"{"foo": -1 }"#).unwrap();
}

#[test]
fn object_with_trailing_whitespace() {
	test_parse!(parse_json, r#"{"foo": -1 }\n"#).unwrap();
}

#[test]
fn array_with_negative() {
	test_parse!(parse_json, r#"[-1]"#).unwrap();
}