From 9986210a500dd23639b23c9b31fa6193035fc764 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Tue, 28 Feb 2023 09:38:13 +0800 Subject: [PATCH] Fix broken test path --- tests/suite/cli_ui.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/suite/cli_ui.rs b/tests/suite/cli_ui.rs index 74c4fe5b1a..ef338ff756 100644 --- a/tests/suite/cli_ui.rs +++ b/tests/suite/cli_ui.rs @@ -8,7 +8,7 @@ fn rustup_ui_doc_text_tests() { // Copy rustup-init to rustup so that the tests can run it. fs::copy(rustup_init, &rustup).unwrap(); t.register_bin("rustup", &rustup); - t.case("tests/cli-ui/rustup/*.toml"); + t.case("tests/suite/cli-ui/rustup/*.toml"); #[cfg(target_os = "windows")] { // On windows, we don't have man command, so skip the test. @@ -53,6 +53,6 @@ fn rustup_init_ui_doc_text_tests() { .unwrap(); // Make sure that the help output of rustup-init and rustup-init.sh are the same. - assert!(rustup_init_help_std_out == rustup_init_sh_help_std_out) + assert_eq!(rustup_init_help_std_out, rustup_init_sh_help_std_out) } }