summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-10-09 14:59:32 +0200
committerLaurenz <laurmaedje@gmail.com>2023-10-09 15:00:07 +0200
commit2a19e7f4dcdc5f09da5961f5c9bee4ec955c95c0 (patch)
tree85b6a8e69c4c5509627026f3468fa71694005171 /tests
parentcb7079711a75df0126a8e02f0d6b0620495637ec (diff)
Bump ecow
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 {