Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename constructor parameter for NullableDateOnlyAssertions #1846

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions Src/FluentAssertions/Primitives/NullableDateOnlyAssertions.cs
Expand Up @@ -12,8 +12,8 @@ namespace FluentAssertions.Primitives
[DebuggerNonUserCode]
public class NullableDateOnlyAssertions : NullableDateOnlyAssertions<NullableDateOnlyAssertions>
{
public NullableDateOnlyAssertions(DateOnly? expected)
: base(expected)
public NullableDateOnlyAssertions(DateOnly? value)
: base(value)
{
}
}
Expand All @@ -25,8 +25,8 @@ public NullableDateOnlyAssertions(DateOnly? expected)
public class NullableDateOnlyAssertions<TAssertions> : DateOnlyAssertions<TAssertions>
where TAssertions : NullableDateOnlyAssertions<TAssertions>
{
public NullableDateOnlyAssertions(DateOnly? expected)
: base(expected)
public NullableDateOnlyAssertions(DateOnly? value)
: base(value)
{
}

Expand Down
Expand Up @@ -2003,12 +2003,12 @@ namespace FluentAssertions.Primitives
}
public class NullableDateOnlyAssertions : FluentAssertions.Primitives.NullableDateOnlyAssertions<FluentAssertions.Primitives.NullableDateOnlyAssertions>
{
public NullableDateOnlyAssertions(System.DateOnly? expected) { }
public NullableDateOnlyAssertions(System.DateOnly? value) { }
}
public class NullableDateOnlyAssertions<TAssertions> : FluentAssertions.Primitives.DateOnlyAssertions<TAssertions>
where TAssertions : FluentAssertions.Primitives.NullableDateOnlyAssertions<TAssertions>
{
public NullableDateOnlyAssertions(System.DateOnly? expected) { }
public NullableDateOnlyAssertions(System.DateOnly? value) { }
public FluentAssertions.AndConstraint<TAssertions> BeNull(string because = "", params object[] becauseArgs) { }
public FluentAssertions.AndConstraint<TAssertions> HaveValue(string because = "", params object[] becauseArgs) { }
public FluentAssertions.AndConstraint<TAssertions> NotBeNull(string because = "", params object[] becauseArgs) { }
Expand Down