From 2c296a3fafad8ee1a43e7bcd544de475b9a2f5c3 Mon Sep 17 00:00:00 2001 From: pc223 <10551242+pc223@users.noreply.github.com> Date: Sun, 18 Jul 2021 17:34:17 +0700 Subject: [PATCH] Change hard-coded 1033 LCID (en-US) to system's LCID --- Flow.Launcher.Test/Plugins/ExplorerTest.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Flow.Launcher.Test/Plugins/ExplorerTest.cs b/Flow.Launcher.Test/Plugins/ExplorerTest.cs index 3d0a9a64f73..bc2b8710c3d 100644 --- a/Flow.Launcher.Test/Plugins/ExplorerTest.cs +++ b/Flow.Launcher.Test/Plugins/ExplorerTest.cs @@ -133,6 +133,13 @@ public void GivenWindowsIndexSearch_WhenSearchAllFoldersAndFiles_ThenQueryShould { // Given var queryConstructor = new QueryConstructor(new Settings()); + var baseQuery = queryConstructor.CreateBaseQuery(); + + + var queryKeywordLocale = baseQuery.QueryKeywordLocale; + expectedString = expectedString.Replace("1033", queryKeywordLocale.ToString()); + + //When var resultString = queryConstructor.QueryForAllFilesAndFolders(userSearchString);