mirror of
https://github.com/biojppm/rapidyaml.git
synced 2026-01-18 21:41:18 +01:00
@@ -1,6 +1,7 @@
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix [#390](https://github.com/biojppm/rapidyaml/pull/390) - `csubstr::first_real_span()` failed on number with one digit in the exponent.
|
||||
- Fix [#361](https://github.com/biojppm/rapidyaml/pull/361) - parse error on map scalars containing `:` and starting on the next line:
|
||||
```yaml
|
||||
---
|
||||
|
||||
Submodule ext/c4core updated: 8f060a4693...fae71067ac
@@ -511,6 +511,14 @@ TEST(json, nested_end)
|
||||
R"({"a": "b","d": "e","c": {"a": "b","d": "e","c": {"a": "b","d": "e","c": {"a": "b","d": "e","c": {"a": "b","d": "e","c": {}}}}}})");
|
||||
}
|
||||
|
||||
TEST(json, issue390)
|
||||
{
|
||||
const Tree tree = parse_in_arena(R"(quntity: 9.5e7
|
||||
quntity2: 95000000)");
|
||||
EXPECT_TRUE(csubstr("9.5e7").is_number());
|
||||
EXPECT_EQ(emitrs_json<std::string>(tree), R"({"quntity": 9.5e7,"quntity2": 95000000})");
|
||||
}
|
||||
|
||||
#undef _test
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user