Skip to content

Commit

Permalink
Fix case in APIs: Datetime to DateTime (#1160)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored Mar 10, 2024
1 parent b318789 commit 53d2b5d
Show file tree
Hide file tree
Showing 76 changed files with 34 additions and 209 deletions.
8 changes: 4 additions & 4 deletions docs/dates.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Results in the following:
DateString: Date_1
}
```
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.ReUseDatetime.verified.txt#L1-L11' title='Snippet source file'>snippet source</a> | <a href='#snippet-SerializationTests.ReUseDatetime.verified.txt' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.ReUseDateTime.verified.txt#L1-L11' title='Snippet source file'>snippet source</a> | <a href='#snippet-SerializationTests.ReUseDatetime.verified.txt' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

To disable this behavior use:
Expand Down Expand Up @@ -167,11 +167,11 @@ public static void ModuleInitializer() =>
<a id='snippet-addextradatetimeformat'></a>
```cs
[ModuleInitializer]
public static void UseAddExtraDatetimeFormat() =>
VerifierSettings.AddExtraDatetimeFormat("yyyy-MM-dd");
public static void UseAddExtraDateTimeFormat() =>
VerifierSettings.AddExtraDateTimeFormat("yyyy-MM-dd");

[Fact]
public Task WithExtraDatetimeFormat() =>
public Task WithExtraDateTimeFormat() =>
Verify(
new
{
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<PropertyGroup>
<NoWarn>CS1591;CS0649;xUnit1026;xUnit1013;CS1573;VerifyTestsProjectDir;VerifySetParameters</NoWarn>
<Version>23.3.0</Version>
<Version>23.4.0</Version>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>preview</LangVersion>
<AssemblyVersion>1.0.0</AssemblyVersion>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions src/StrictJsonTests/SerializationTests.XDoc.verified.xml

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions src/StrictJsonTests/SerializationTests.XElement.verified.xml

This file was deleted.

3 changes: 0 additions & 3 deletions src/StrictJsonTests/SerializationTests.Xml.verified.xml

This file was deleted.

3 changes: 0 additions & 3 deletions src/StrictJsonTests/SerializationTests.XmlDoc.verified.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 53d2b5d

Please sign in to comment.