Closed CronKz closed 1 week ago
Hot Chocolate
14.0.0
See below
\n
HotChocolate.Data.EntitiyFramework.Pagination.Tests
Paging_With_PagingFlags_Override
The tests should succeed
The tests fail when comparing the diff. Windows uses \r\n instead of \n.
\r\n
Xunit.Sdk.XunitException The snapshot does not match:
{ "data": { "products": { "pageCount": 10 } }, "extensions": { - "sql": "-- @__p_0='11'\nSELECT p.\"Id\", p.\"AvailableStock\", p.\"BrandId\", p.\"Description\", p.\"ImageFileName\", p.\"MaxStockThreshold\", p.\"Name\", p.\"OnReorder\", p.\"Price\", p.\"RestockThreshold\", p.\"TypeId\"\nFROM \"Products\" AS p\nORDER BY p.\"Id\"\nLIMIT @__p_0" + "sql": "-- @__p_0='11'\r\nSELECT p.\"Id\", p.\"AvailableStock\", p.\"BrandId\", p.\"Description\", p.\"ImageFileName\", p.\"MaxStockThreshold\", p.\"Name\", p.\"OnReorder\", p.\"Price\", p.\"RestockThreshold\", p.\"TypeId\"\r\nFROM \"Products\" AS p\r\nORDER BY p.\"Id\"\r\nLIMIT @__p_0" } }
No response
I'll submit a possible fix
Product
Hot Chocolate
Version
14.0.0
Link to minimal reproduction
See below
Steps to reproduce
\n
HotChocolate.Data.EntitiyFramework.Pagination.Tests
Paging_With_PagingFlags_Override
What is expected?
The tests should succeed
What is actually happening?
The tests fail when comparing the diff. Windows uses
\r\n
instead of\n
.Xunit.Sdk.XunitException The snapshot does not match:
Paging_With_PagingFlags_Override
Relevant log output
No response
Additional context
I'll submit a possible fix