diff options
| author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-03 02:39:20 -0500 |
|---|---|---|
| committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-04 23:49:06 -0500 |
| commit | 3744e2f1e5505c9d15fb3bc985ad147a33621048 (patch) | |
| tree | cf6c6accf9024b553a1772658720f909c6c6b25f /src/SMAPI.Tests/Utilities | |
| parent | a2a0469cd024e2fd4b35503db152ba1a6df712ec (diff) | |
| download | SMAPI-3744e2f1e5505c9d15fb3bc985ad147a33621048.tar.gz SMAPI-3744e2f1e5505c9d15fb3bc985ad147a33621048.tar.bz2 SMAPI-3744e2f1e5505c9d15fb3bc985ad147a33621048.zip | |
add SMAPI 3.0 compatibility strict mode (#606)
Diffstat (limited to 'src/SMAPI.Tests/Utilities')
| -rw-r--r-- | src/SMAPI.Tests/Utilities/SemanticVersionTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Tests/Utilities/SemanticVersionTests.cs b/src/SMAPI.Tests/Utilities/SemanticVersionTests.cs index 1782308b..2e7719eb 100644 --- a/src/SMAPI.Tests/Utilities/SemanticVersionTests.cs +++ b/src/SMAPI.Tests/Utilities/SemanticVersionTests.cs @@ -47,7 +47,7 @@ namespace StardewModdingAPI.Tests.Utilities Assert.AreEqual(major, version.MajorVersion, "The major version doesn't match the given value."); Assert.AreEqual(minor, version.MinorVersion, "The minor version doesn't match the given value."); Assert.AreEqual(patch, version.PatchVersion, "The patch version doesn't match the given value."); - Assert.AreEqual(string.IsNullOrWhiteSpace(tag) ? null : tag.Trim(), version.Build, "The tag doesn't match the given value."); + Assert.AreEqual(string.IsNullOrWhiteSpace(tag) ? null : tag.Trim(), version.PrereleaseTag, "The tag doesn't match the given value."); return version.ToString(); } |
