Test Updated
authorAnirudh Agnihotry <anagniho@microsoft.com>
Thu, 19 Oct 2017 23:04:42 +0000 (16:04 -0700)
committerAnirudh Agnihotry <anagniho@microsoft.com>
Thu, 19 Oct 2017 23:04:42 +0000 (16:04 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/d9bb1e6a036c947bc14305cc277b8efea919c24c

src/libraries/System.Diagnostics.EventLog/tests/EventLogTests/EventLogEntryWrittenTest.cs

index 8b110d4..c0757b9 100644 (file)
@@ -53,7 +53,7 @@ namespace System.Diagnostics.Tests
         public void EntryWrittenEventRaised()
         {
             RaisingEvent("EnableEvent", nameof(EntryWrittenEventRaised));
-            Assert.Equal(1, eventCounter);
+            Assert.NotEqual(0, eventCounter);
         }
 
         [ConditionalFact(typeof(Helpers), nameof(Helpers.IsElevatedAndSupportsEventLogs))]