summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Tests/Core
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-07-10 14:33:36 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-07-10 14:33:36 -0400
commitd82e57d3060c96923ba9a8efe3c9eb839abffe59 (patch)
treea6d9760bbb83444dc5418d9b3a996c5f6ce96c78 /src/StardewModdingAPI.Tests/Core
parent61d13d370c07bec029336890eec9501a8efc3056 (diff)
downloadSMAPI-d82e57d3060c96923ba9a8efe3c9eb839abffe59.tar.gz
SMAPI-d82e57d3060c96923ba9a8efe3c9eb839abffe59.tar.bz2
SMAPI-d82e57d3060c96923ba9a8efe3c9eb839abffe59.zip
enable SMAPI 2.0 mode by default
This commit replaces the SMAPI_2_0 compile flag with SMAPI_1_x.
Diffstat (limited to 'src/StardewModdingAPI.Tests/Core')
-rw-r--r--src/StardewModdingAPI.Tests/Core/ModResolverTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs b/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs
index 9b46c5d2..eda3a425 100644
--- a/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs
+++ b/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs
@@ -179,7 +179,7 @@ namespace StardewModdingAPI.Tests.Core
mock.Verify(p => p.SetStatus(ModMetadataStatus.Failed, It.IsAny<string>()), Times.Once, "The validation did not fail the metadata.");
}
-#if SMAPI_2_0
+#if !SMAPI_1_x
[Test(Description = "Assert that validation fails when multiple mods have the same unique ID.")]
public void ValidateManifests_DuplicateUniqueID_Fails()
{
@@ -423,7 +423,7 @@ namespace StardewModdingAPI.Tests.Core
Assert.AreSame(modB.Object, mods[1], "The load order is incorrect: mod B should be second since it needs mod A.");
}
-#if SMAPI_2_0
+#if !SMAPI_1_x
[Test(Description = "Assert that optional dependencies are sorted correctly if present.")]
public void ProcessDependencies_IfOptional()
{