summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Cargo.toml2
-rw-r--r--tests/src/tests.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/Cargo.toml b/tests/Cargo.toml
index 2e8727ad..6009fc1b 100644
--- a/tests/Cargo.toml
+++ b/tests/Cargo.toml
@@ -11,7 +11,7 @@ typst = { path = "../crates/typst" }
typst-library = { path = "../crates/typst-library" }
clap = { version = "4.4", features = ["derive"] }
comemo = "0.3"
-ecow = { version = "0.1.2", features = ["serde"] }
+ecow = { version = "0.2", features = ["serde"] }
iai = { git = "https://github.com/typst/iai" }
once_cell = "1"
oxipng = { git = "https://github.com/typst/oxipng", rev = "b8ec65b", default-features = false, features = ["filetime", "parallel", "zopfli"] }
diff --git a/tests/src/tests.rs b/tests/src/tests.rs
index d690cdb3..41fd00e8 100644
--- a/tests/src/tests.rs
+++ b/tests/src/tests.rs
@@ -574,7 +574,7 @@ fn test_part(
Severity::Warning => AnnotationKind::Warning,
},
range: world.range(diagnostic.span),
- message: diagnostic.message.replace('\\', "/").into(),
+ message: diagnostic.message.replace("\\", "/"),
};
if validate_hints {