From 247a080b9852e3ab176cca63f5695c8a6b2202cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= Date: Tue, 5 Mar 2024 09:02:33 +0000 Subject: [PATCH] Update test names to not have dots --- tests/rustdoc/{invalid.crate.name.rs => invalid$crate$name.rs} | 0 ...ate-arg-ignore-tidy.x.rs => need-crate-arg-ignore-tidy$x.rs} | 0 ...ignore-tidy.x.stderr => need-crate-arg-ignore-tidy$x.stderr} | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename tests/rustdoc/{invalid.crate.name.rs => invalid$crate$name.rs} (100%) rename tests/ui/command/{need-crate-arg-ignore-tidy.x.rs => need-crate-arg-ignore-tidy$x.rs} (100%) rename tests/ui/command/{need-crate-arg-ignore-tidy.x.stderr => need-crate-arg-ignore-tidy$x.stderr} (68%) diff --git a/tests/rustdoc/invalid.crate.name.rs b/tests/rustdoc/invalid$crate$name.rs similarity index 100% rename from tests/rustdoc/invalid.crate.name.rs rename to tests/rustdoc/invalid$crate$name.rs diff --git a/tests/ui/command/need-crate-arg-ignore-tidy.x.rs b/tests/ui/command/need-crate-arg-ignore-tidy$x.rs similarity index 100% rename from tests/ui/command/need-crate-arg-ignore-tidy.x.rs rename to tests/ui/command/need-crate-arg-ignore-tidy$x.rs diff --git a/tests/ui/command/need-crate-arg-ignore-tidy.x.stderr b/tests/ui/command/need-crate-arg-ignore-tidy$x.stderr similarity index 68% rename from tests/ui/command/need-crate-arg-ignore-tidy.x.stderr rename to tests/ui/command/need-crate-arg-ignore-tidy$x.stderr index 89f7210c048..28f6d31b1ce 100644 --- a/tests/ui/command/need-crate-arg-ignore-tidy.x.stderr +++ b/tests/ui/command/need-crate-arg-ignore-tidy$x.stderr @@ -1,4 +1,4 @@ -error: invalid character `'.'` in crate name: `need_crate_arg_ignore_tidy.x` +error: invalid character `'$'` in crate name: `need_crate_arg_ignore_tidy$x` | = help: you can either pass `--crate-name` on the command line or add `#![crate_name="…"]` to set the crate name