diff --git a/Cargo.toml b/Cargo.toml index a958fdf..e93bee3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ license = "MIT/Apache-2.0" readme = "README.md" repository = "https://github.com/RazrFalcon/xmlparser" edition = "2018" +rust-version = "1.61.0" [features] default = ["std"] diff --git a/tests/integration/cdata.rs b/tests/integration/cdata.rs index f607151..c13283b 100644 --- a/tests/integration/cdata.rs +++ b/tests/integration/cdata.rs @@ -71,5 +71,5 @@ test!(cdata_09, "
", test!(cdata_err_01, "", Token::ElementStart("", "p", 0..2), Token::ElementEnd(ElementEnd::Open, 2..3), - Token::Error("invalid CDATA at 1:4 cause a non-XML character '\\u{0}' found at 1:13".to_string()) + Token::Error("invalid CDATA at 1:4 cause a non-XML character '\\0' found at 1:13".to_string()) ); diff --git a/tests/integration/elements.rs b/tests/integration/elements.rs index ff19bf4..eb64e2d 100644 --- a/tests/integration/elements.rs +++ b/tests/integration/elements.rs @@ -211,7 +211,7 @@ test!(attribute_err_05, "