From 23326b4765b04cb13dd6c72f2103ff9bd6d44d7d Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Tue, 24 Jan 2023 09:40:16 +0100 Subject: Update `ui` test for trybuild 1.0.76 In the output of error messages was subtly changed, because they introduced a subdirectoy in their temp path. This PR fixes the mismatch between the expected and the actual output. --- testing/Cargo.toml | 2 +- testing/tests/ui/since_1.58/incorrect_path.stderr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testing') diff --git a/testing/Cargo.toml b/testing/Cargo.toml index 3e550af..cd7d686 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -18,7 +18,7 @@ serde_json = { version = "1.0", optional = true } [dev-dependencies] criterion = "0.4" -trybuild = "1.0.55" +trybuild = "1.0.76" version_check = "0.9" [[bench]] diff --git a/testing/tests/ui/since_1.58/incorrect_path.stderr b/testing/tests/ui/since_1.58/incorrect_path.stderr index 7581a91..05a1cb7 100644 --- a/testing/tests/ui/since_1.58/incorrect_path.stderr +++ b/testing/tests/ui/since_1.58/incorrect_path.stderr @@ -1,4 +1,4 @@ -error: template "thisdoesnotexist.html" not found in directories ["$WORKSPACE/target/tests/askama_testing/templates"] +error: template "thisdoesnotexist.html" not found in directories ["$WORKSPACE/target/tests/trybuild/askama_testing/templates"] --> tests/ui/since_1.58/incorrect_path.rs:3:10 | 3 | #[derive(Template)] -- cgit