Add DateTimeOffsetValueComparer #424
ci.yml
on: pull_request
build
2m 17s
specs
0s
system-tests-windows
0s
system-tests-linux
0s
Annotations
2 errors
[@traits.Category] Reqnroll.RuntimeTests.AssistTests.ServiceTests.Should_load_the_value_comparers_by_default:
_/Tests/Reqnroll.RuntimeTests/AssistTests/ServiceTests.cs#L17
Expected root to be a collection with 7 item(s), but {Reqnroll.Assist.ValueComparers.DateTimeValueComparer, Reqnroll.Assist.ValueComparers.DateTimeOffsetValueComparer, Reqnroll.Assist.ValueComparers.BoolValueComparer, Reqnroll.Assist.ValueComparers.GuidValueComparer, Reqnroll.Assist.ValueComparers.DecimalValueComparer, Reqnroll.Assist.ValueComparers.DoubleValueComparer, Reqnroll.Assist.ValueComparers.FloatValueComparer, Reqnroll.Assist.ValueComparers.DefaultValueComparer}"
"contains 1 item(s) more than"
"{Reqnroll.Assist.ValueComparers.DateTimeValueComparer, Reqnroll.Assist.ValueComparers.BoolValueComparer, Reqnroll.Assist.ValueComparers.GuidValueComparer, Reqnroll.Assist.ValueComparers.DecimalValueComparer, Reqnroll.Assist.ValueComparers.DoubleValueComparer, Reqnroll.Assist.ValueComparers.FloatValueComparer, Reqnroll.Assist.ValueComparers.DefaultValueComparer}.
With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Include all non-private properties
- Include all non-private fields
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
/n at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context)
at FluentAssertions.Execution.AssertionScope.Dispose()
at FluentAssertions.Equivalency.EquivalencyValidator.AssertEquality(Comparands comparands, EquivalencyValidationContext context)
at FluentAssertions.Collections.GenericCollectionAssertions`3.BeEquivalentTo[TExpectation](IEnumerable`1 expectation, Func`2 config, String because, Object[] becauseArgs)
at FluentAssertions.Collections.GenericCollectionAssertions`3.BeEquivalentTo[TExpectation](IEnumerable`1 expectation, String because, Object[] becauseArgs)
at Reqnroll.RuntimeTests.AssistTests.ServiceTests.Should_load_the_value_comparers_by_default() in /_/Tests/Reqnroll.RuntimeTests/AssistTests/ServiceTests.cs:line 33
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
|
build
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-trx
Expired
|
391 KB |
|