diff options
Diffstat (limited to 'src/SMAPI.Tests')
-rw-r--r-- | src/SMAPI.Tests/Sample.cs | 6 | ||||
-rw-r--r-- | src/SMAPI.Tests/StardewModdingAPI.Tests.csproj | 1 | ||||
-rw-r--r-- | src/SMAPI.Tests/Utilities/SDateTests.cs | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/SMAPI.Tests/Sample.cs b/src/SMAPI.Tests/Sample.cs index 99835d92..6cd27707 100644 --- a/src/SMAPI.Tests/Sample.cs +++ b/src/SMAPI.Tests/Sample.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace StardewModdingAPI.Tests { @@ -6,14 +6,14 @@ namespace StardewModdingAPI.Tests internal static class Sample { /********* - ** Properties + ** Fields *********/ /// <summary>A random number generator.</summary> private static readonly Random Random = new Random(); /********* - ** Properties + ** Accessors *********/ /// <summary>Get a sample string.</summary> public static string String() diff --git a/src/SMAPI.Tests/StardewModdingAPI.Tests.csproj b/src/SMAPI.Tests/StardewModdingAPI.Tests.csproj index 4ec1a3de..83bd92af 100644 --- a/src/SMAPI.Tests/StardewModdingAPI.Tests.csproj +++ b/src/SMAPI.Tests/StardewModdingAPI.Tests.csproj @@ -11,6 +11,7 @@ <AssemblyName>StardewModdingAPI.Tests</AssemblyName> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> + <LangVersion>latest</LangVersion> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> <DebugSymbols>true</DebugSymbols> diff --git a/src/SMAPI.Tests/Utilities/SDateTests.cs b/src/SMAPI.Tests/Utilities/SDateTests.cs index b89d8857..1f31168e 100644 --- a/src/SMAPI.Tests/Utilities/SDateTests.cs +++ b/src/SMAPI.Tests/Utilities/SDateTests.cs @@ -13,7 +13,7 @@ namespace StardewModdingAPI.Tests.Utilities internal class SDateTests { /********* - ** Properties + ** Fields *********/ /// <summary>All valid seasons.</summary> private static readonly string[] ValidSeasons = { "spring", "summer", "fall", "winter" }; |