You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On upgrading to Verify.Xunit 14.8.0 (from 14.7.0) some tests started failing. On closer examination it looks like Boolean values are being handled slightly differently and are now missing from some output. false values are missing, and if it is a nullable Boolean then null values are missing too. This means that there isn't any effective difference between null or false in the output for a nullable Boolean property.
Only true is ever output. For example, when Boolean is false, NullableBoolean is null the output is:
{}
For Boolean is true, NullableBoolean is null:
{
"Boolean": true
}
Submit a PR that fixes the bug
I do not have a PR to fix this issue at present. I will try and create one within the next 48 hours. If it is obvious where the issue may lie, please point me in that direction or let me know if you are fixing it instead.
The text was updated successfully, but these errors were encountered:
Preamble
Describe the bug
On upgrading to Verify.Xunit 14.8.0 (from 14.7.0) some tests started failing. On closer examination it looks like Boolean values are being handled slightly differently and are now missing from some output.
false
values are missing, and if it is a nullable Boolean thennull
values are missing too. This means that there isn't any effective difference betweennull
orfalse
in the output for a nullable Boolean property.The following has no effect either:
Minimal Repro
Only true is ever output. For example, when Boolean is
false
, NullableBoolean isnull
the output is:For Boolean is
true
, NullableBoolean isnull
:Submit a PR that fixes the bug
I do not have a PR to fix this issue at present. I will try and create one within the next 48 hours. If it is obvious where the issue may lie, please point me in that direction or let me know if you are fixing it instead.
The text was updated successfully, but these errors were encountered: