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

一部の Dictionary<string, object> の比較ができない #31

Open
in-async opened this issue Nov 12, 2021 · 0 comments
Open

一部の Dictionary<string, object> の比較ができない #31

in-async opened this issue Nov 12, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@in-async
Copy link
Owner

var now = DateTime.Now;
new Dictionary<string, object> {
    { "foo", 1 },
    { "bar", now },
}.AssertIs(new Dictionary<string, object> {
    { "foo", 1 },
    { "bar", now },
});

PrimitiveAssertFailedException: : expected のデータ メンバー 'Date', 'Day', 'DayOfWeek', 'DayOfYear', 'Hour', 'Kind', 'Millisecond', 'Minute', 'Month', 'Second', 'Ticks', 'TimeOfDay', 'Year' がターゲット型に存在しません。

{
      path: actual/[1]:KeyValuePair<String, Object>/Value:Object
    target: typeof(Object)
    actual: "2021/11/12 14:42:36"
  expected: "2021/11/12 14:42:36"
}
@in-async in-async added the bug Something isn't working label Nov 12, 2021
@in-async in-async self-assigned this Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant