Skip to content

Commit

Permalink
#2903: Add ArgumentFormatter aliases for nint and nuint (v2)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Mar 25, 2024
1 parent e074b6a commit f69013b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/xunit.assert/Asserts
6 changes: 5 additions & 1 deletion test/test.xunit.assert/Asserts/Sdk/ArgumentFormatterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,11 @@ public static void TaskGenericValue()
{ typeof(IDictionary<string, DateTime>), "typeof(System.Collections.Generic.IDictionary<string, DateTime>)" },
{ typeof(IDictionary<string[,], DateTime[,][]>), "typeof(System.Collections.Generic.IDictionary<string[,], DateTime[,][]>)" },
{ typeof(bool?), "typeof(bool?)" },
{ typeof(bool?[]), "typeof(bool?[])" }
{ typeof(bool?[]), "typeof(bool?[])" },
{ typeof(nint), "typeof(nint)" },
{ typeof(IntPtr), "typeof(nint)" },
{ typeof(nuint), "typeof(nuint)" },
{ typeof(UIntPtr), "typeof(nuint)" },
};

[Theory]
Expand Down

0 comments on commit f69013b

Please sign in to comment.