Skip to content

Commit 9642e40

Browse files
committed
Remove a misleading part of a function name
1 parent 49e4c8d commit 9642e40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/miri/tests/compiletest.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn build_so_for_c_ffi_tests() -> PathBuf {
4646
so_file_path
4747
}
4848

49-
fn run_test_config(
49+
fn test_config(
5050
args: impl Iterator<Item = String>,
5151
target: &str,
5252
path: &str,
@@ -151,7 +151,7 @@ fn run_test_config(
151151
}
152152

153153
fn run_tests(mode: Mode, path: &str, target: &str, with_dependencies: bool) -> Result<()> {
154-
let config = run_test_config(std::env::args().skip(1), target, path, mode, with_dependencies);
154+
let config = test_config(std::env::args().skip(1), target, path, mode, with_dependencies);
155155

156156
eprintln!(" Compiler: {}", config.program.display());
157157
ui_test::run_tests_generic(
@@ -272,7 +272,7 @@ fn main() -> Result<()> {
272272
fn run_dep_mode(target: String) -> Result<()> {
273273
let files = std::env::args().skip(2);
274274
for path in files {
275-
let mut config = run_test_config(std::iter::empty(), &target, &path, Mode::Yolo, true);
275+
let mut config = test_config(std::iter::empty(), &target, &path, Mode::Yolo, true);
276276
config.program.args.remove(0); // remove the `--error-format=json` argument
277277
config.program.args.push("--color".into());
278278
config.program.args.push("always".into());

0 commit comments

Comments
 (0)