From e103d649ed3e820eb7807a632a3a8c935d4049ba Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 26 Feb 2026 17:37:15 +0800 Subject: [PATCH] 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. --- Flow.Launcher.Test/QueryBuilderTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Test/QueryBuilderTest.cs b/Flow.Launcher.Test/QueryBuilderTest.cs index 0064f23e5..d8e8e4973 100644 --- a/Flow.Launcher.Test/QueryBuilderTest.cs +++ b/Flow.Launcher.Test/QueryBuilderTest.cs @@ -36,7 +36,7 @@ namespace Flow.Launcher.Test { var nonGlobalPlugins = new Dictionary> { - { ">", new List(){ new() { Metadata = new PluginMetadata { ActionKeywords = [">"] } } } } + { ">", new List(){ new() { Metadata = new PluginMetadata { ActionKeywords = [">"], Disabled = true } } } } }; Query q = QueryBuilder.Build("> ping google.com -n 20 -6", "> ping google.com -n 20 -6", nonGlobalPlugins);