From 2a19e7f4dcdc5f09da5961f5c9bee4ec955c95c0 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 9 Oct 2023 14:59:32 +0200 Subject: Bump ecow --- tests/Cargo.toml | 2 +- tests/src/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 { -- cgit v1.2.3