File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ public Task GuidsAndDatesSample()
207207 """
208208 {
209209 "node": {
210- "date": "1/10 /2023",
210+ "date": "10/01 /2023",
211211 "short": "foo",
212212 "error": {
213213 "guid": "123e4567-e89b-12d3-a456-426614174000",
@@ -258,8 +258,8 @@ public Task InlineGuidsAndDatesSample()
258258 """
259259 {
260260 "node": {
261- "date": "01 /10/2023 ",
262- "short": "foo 01 /10/2023 ",
261+ "date": "2023 /10/01 ",
262+ "short": "foo 2023 /10/01 ",
263263 "error": {
264264 "guid": "123e4567-e89b-12d3-a456-426614174000",
265265 "msg": "No action taken 123e4567-e89b-12d3-a456-426614174000"
@@ -270,7 +270,7 @@ public Task InlineGuidsAndDatesSample()
270270
271271 var document = JsonDocument .Parse (json );
272272 return Verify (document )
273- .ScrubInlineDates (" dd /MM/yyyy " )
273+ .ScrubInlineDates (" yyyy /MM/dd " )
274274 .ScrubInlineGuids ();
275275}
276276```
Original file line number Diff line number Diff line change 99 <PackageVersion Include =" Polyfill" Version =" 8.0.0-beta.2" />
1010 <PackageVersion Include =" ProjectDefaults" Version =" 1.0.155" />
1111 <PackageVersion Include =" System.Text.Json" Version =" 9.0.5" />
12- <PackageVersion Include =" Verify" Version =" 30.3.0 " />
12+ <PackageVersion Include =" Verify" Version =" 30.3.1 " />
1313 <PackageVersion Include =" Verify.DiffPlex" Version =" 3.1.2" />
1414 <PackageVersion Include =" NUnit" Version =" 4.3.2" />
15- <PackageVersion Include =" Verify.NUnit" Version =" 30.3.0 " />
15+ <PackageVersion Include =" Verify.NUnit" Version =" 30.3.1 " />
1616 <PackageVersion Include =" NUnit3TestAdapter" Version =" 5.0.0" />
1717 <PackageVersion Include =" Microsoft.Sbom.Targets" Version =" 4.0.3" />
1818 </ItemGroup >
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public Task GuidsAndDatesSample()
6060 """
6161 {
6262 "node": {
63- "date": "1/10 /2023",
63+ "date": "10/01 /2023",
6464 "short": "foo",
6565 "error": {
6666 "guid": "123e4567-e89b-12d3-a456-426614174000",
@@ -84,8 +84,8 @@ public Task InlineGuidsAndDatesSample()
8484 """
8585 {
8686 "node": {
87- "date": "01 /10/2023 ",
88- "short": "foo 01 /10/2023 ",
87+ "date": "2023 /10/01 ",
88+ "short": "foo 2023 /10/01 ",
8989 "error": {
9090 "guid": "123e4567-e89b-12d3-a456-426614174000",
9191 "msg": "No action taken 123e4567-e89b-12d3-a456-426614174000"
@@ -96,7 +96,7 @@ public Task InlineGuidsAndDatesSample()
9696
9797 var document = JsonDocument . Parse ( json ) ;
9898 return Verify ( document )
99- . ScrubInlineDates ( "dd /MM/yyyy " )
99+ . ScrubInlineDates ( "yyyy /MM/dd " )
100100 . ScrubInlineGuids ( ) ;
101101 }
102102
You can’t perform that action at this time.
0 commit comments