diff options
author | 林炳权 <695601626@qq.com> | 2024-10-16 00:10:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-15 21:40:07 +0530 |
commit | 533a9b108677f1560fe55882771a0be2bb0b0fd2 (patch) | |
tree | 39f8d1e734f40a4cdafb0e6b582ceeea26d491ea /tests/integration/compile_tests.rs | |
parent | e4b52f5a7684cfb6754f2531e51f833a64d97d7b (diff) |
chore: upgrade to rust 1.81.0 (#26261)
Diffstat (limited to 'tests/integration/compile_tests.rs')
-rw-r--r-- | tests/integration/compile_tests.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/compile_tests.rs b/tests/integration/compile_tests.rs index 0a5916f6f..a8ea5b038 100644 --- a/tests/integration/compile_tests.rs +++ b/tests/integration/compile_tests.rs @@ -241,7 +241,7 @@ fn compile_with_file_exists_error() { "./compile/args.ts", ]) .run() - .assert_matches_text(&format!( + .assert_matches_text(format!( concat!( "[WILDCARD]error: Could not compile to file '{}' because its parent directory ", "is an existing file. You can use the `--output <file-path>` flag to ", @@ -269,7 +269,7 @@ fn compile_with_directory_exists_error() { &exe.to_string_lossy(), "./compile/args.ts" ]).run() - .assert_matches_text(&format!( + .assert_matches_text(format!( concat!( "[WILDCARD]error: Could not compile to file '{}' because a directory exists with ", "the same name. You can use the `--output <file-path>` flag to ", @@ -297,7 +297,7 @@ fn compile_with_conflict_file_exists_error() { &exe.to_string_lossy(), "./compile/args.ts" ]).run() - .assert_matches_text(&format!( + .assert_matches_text(format!( concat!( "[WILDCARD]error: Could not compile to file '{}' because the file already exists ", "and cannot be overwritten. Please delete the existing file or ", |