diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b39ed35..a0c9105 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v4 diff --git a/System.Test/IsOnlineTest.cs b/System.Test/IsOnlineTest.cs index 34d3906..d59fbbb 100644 --- a/System.Test/IsOnlineTest.cs +++ b/System.Test/IsOnlineTest.cs @@ -41,7 +41,7 @@ public void ConstructorWithIpAddressAndCustomTimeout() Assert.AreEqual(customTimeout, isOnline.TimeOut, $"Timeout should be {customTimeout}."); } - /*[TestMethod] + [TestMethod] public void CheckWithHostname() { IsOnline isOnline = new(_googleHostname); @@ -59,6 +59,6 @@ public void CheckWithIpAddress() bool result = isOnline.Check(); Assert.IsTrue(result, "Google IP address should be reachable."); - }*/ + } } }