Commit 77fa2cf
committed
Fix JSON test comparison to handle Unicode escape differences
System.Text.Json serializes supplementary-plane characters (e.g. U+29E3D)
as \uD867\uDE3D escape sequences, while SQL Server returns them as literal
UTF-8. The DeepEqualsCore fallback compared GetRawText() which preserves
escaping differences. Add explicit JsonValueKind.String case using
GetString() which decodes both representations to the same .NET string.1 parent 748d5ca commit 77fa2cf
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
0 commit comments