refactor: fix analyzer warnings #2224
GitHub Actions / Test Results
failed
Jan 11, 2025 in 0s
1 fail, 2 974 skipped, 52 219 pass in 22m 19s
Annotations
Check warning on line 0 in Testably.Abstractions.Tests.TimeSystem.TimerTests.MockTimeSystemTests
github-actions / Test Results
1 out of 9 runs failed: Change_WithInt_ShouldResetTimer (Testably.Abstractions.Tests.TimeSystem.TimerTests.MockTimeSystemTests)
artifacts/Linux-artifacts/TestResults/Testably.Abstractions.Tests_net8.0.trx [took 0s]
Raw output
Expected triggerTimes[i] to be greater than 1700, but found 0 (difference of -1700). at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Numeric.NumericAssertions`2.BeGreaterThan(T expected, String because, Object[] becauseArgs)
at Testably.Abstractions.Tests.TimeSystem.TimerTests`1.Change_WithInt_ShouldResetTimer() in /home/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs:line 236
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Loading