We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30f3270 commit 5cf020eCopy full SHA for 5cf020e
src/config/models/test.rs
@@ -48,7 +48,10 @@ async fn err_bad_trunk_toml_watch_path() {
48
49
assert_eq!(
50
err.to_string(),
51
- r#"error taking the canonical path to the watch path: "fake-dir""#
+ format!(
52
+ r#"error taking the canonical path to the watch path: "{}/tests/data/fake-dir""#,
53
+ cwd.display()
54
+ )
55
);
56
}
57
@@ -71,7 +74,10 @@ async fn err_bad_trunk_toml_watch_ignore() {
71
74
.expect_err("expected config to err");
72
75
73
76
- r#"error taking the canonical path to the watch ignore path: "fake.html""#
77
78
+ r#"error taking the canonical path to the watch ignore path: "{}/tests/data/fake.html""#,
79
80
81
82
83
0 commit comments