public void EnabledGhostProcessing() { var item = ModListing.FromString(Utility.PluginModKey.FileName, enabledMarkerProcessing: true); Assert.False(item.Enabled); Assert.Equal(Utility.PluginModKey, item.ModKey); item = ModListing.FromString($"*{Utility.PluginModKey.FileName}.ghost", enabledMarkerProcessing: true); Assert.False(item.Enabled); Assert.True(item.Ghosted); Assert.Equal(Utility.PluginModKey, item.ModKey); }
/// <inheritdoc /> public ModListing FromString(ReadOnlySpan <char> str) { return(ModListing.FromString(str, _hasEnabledMarkers.HasEnabledMarkers)); }