mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Update test to mark exclusive plugin as disabled
ExclusivePluginQueryIgnoreDisabledTest now sets the ">" plugin's Disabled property to true in PluginMetadata. This verifies that QueryBuilder correctly ignores disabled exclusive plugins.
This commit is contained in:
parent
a90c787b4a
commit
e103d649ed
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ namespace Flow.Launcher.Test
|
|||
{
|
||||
var nonGlobalPlugins = new Dictionary<string, List<PluginPair>>
|
||||
{
|
||||
{ ">", new List<PluginPair>(){ new() { Metadata = new PluginMetadata { ActionKeywords = [">"] } } } }
|
||||
{ ">", new List<PluginPair>(){ new() { Metadata = new PluginMetadata { ActionKeywords = [">"], Disabled = true } } } }
|
||||
};
|
||||
|
||||
Query q = QueryBuilder.Build("> ping google.com -n 20 -6", "> ping google.com -n 20 -6", nonGlobalPlugins);
|
||||
|
|
|
|||
Loading…
Reference in a new issue