summaryrefslogtreecommitdiff
path: root/src/SMAPI.Tests/Core
diff options
context:
space:
mode:
authoratravita-mods <94934860+atravita-mods@users.noreply.github.com>2022-10-18 18:58:41 -0400
committeratravita-mods <94934860+atravita-mods@users.noreply.github.com>2022-10-18 18:58:41 -0400
commitb99dbf53bda9dc1178a3b6e8cbafea609f3ee6dc (patch)
tree87fea0572f25ac019295e4e9688c2cf92ab5208a /src/SMAPI.Tests/Core
parent4dcc6904b9e72ac3567dfafe3824c2de48218b58 (diff)
downloadSMAPI-b99dbf53bda9dc1178a3b6e8cbafea609f3ee6dc.tar.gz
SMAPI-b99dbf53bda9dc1178a3b6e8cbafea609f3ee6dc.tar.bz2
SMAPI-b99dbf53bda9dc1178a3b6e8cbafea609f3ee6dc.zip
fix this case.
Diffstat (limited to 'src/SMAPI.Tests/Core')
-rw-r--r--src/SMAPI.Tests/Core/AssetNameTests.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI.Tests/Core/AssetNameTests.cs b/src/SMAPI.Tests/Core/AssetNameTests.cs
index fe70e330..fbc94e95 100644
--- a/src/SMAPI.Tests/Core/AssetNameTests.cs
+++ b/src/SMAPI.Tests/Core/AssetNameTests.cs
@@ -245,6 +245,8 @@ namespace SMAPI.Tests.Core
[TestCase("Mods/SomeMod/SomeSubdirectory", "Mods/Some", true, ExpectedResult = true)]
[TestCase("Mods/SomeMod/SomeSubdirectory", "Mods/Some", false, ExpectedResult = false)]
+ [TestCase("Mods/Jasper/Data", "Mods/Jas/Image", true, ExpectedResult = false)]
+ [TestCase("Mods/Jasper/Data", "Mods/Jas/Image", true, ExpectedResult = false)]
public bool StartsWith_SubfolderWithPartial(string mainAssetName, string otherAssetName, bool allowSubfolder)
{
// arrange