Fixed one of BlueprintsManagerTests to be less OS-dependant

This commit is contained in:
Florian CUNY 2019-09-14 22:03:23 +02:00
parent fd5f4841b2
commit 1ccc1822a7

View File

@ -218,7 +218,7 @@ public class BlueprintsManagerTest {
when(addon.getFile()).thenReturn(dataFolder); when(addon.getFile()).thenReturn(dataFolder);
BlueprintsManager bpm = new BlueprintsManager(plugin); BlueprintsManager bpm = new BlueprintsManager(plugin);
bpm.extractDefaultBlueprints(addon); bpm.extractDefaultBlueprints(addon);
verify(plugin).logError(eq("Could not load blueprint files from addon jar dataFolder (Is a directory)")); verify(plugin).logError(Mockito.startsWith("Could not load blueprint files from addon jar dataFolder"));
} }
/** /**