From e49dee4d3d02a94fa1f9fc2576a6db760fc0475c Mon Sep 17 00:00:00 2001 From: Jerry Xu Date: Fri, 28 Feb 2025 07:52:03 +0800 Subject: [PATCH] Update src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs b/src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs index a9e7577452a4..c8ab562602ab 100644 --- a/src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs +++ b/src/modules/Hosts/Hosts.UITests/HostsSettingTests.cs @@ -76,10 +76,10 @@ public void TestWarningDialog() this.LaunchFromSetting(showWarning: false); // Should NOT show warning dialog - Assert.IsTrue(this.FindAll("Warning").Count == 0, "Should not show warning dialog"); + Assert.IsTrue(this.FindAll("Warning").Count == 0, "Should NOT show warning dialog"); // Host Editor Window should not be closed - Assert.IsFalse(this.IsHostsFileEditorClosed(), "Hosts File Editor should be closed"); + Assert.IsFalse(this.IsHostsFileEditorClosed(), "Hosts File Editor should NOT be closed"); // Close Hosts File Editor window this.Session.Find("Hosts File Editor").Close();