Fixes #2649 - Unit Tests on Windows are failing (#2650)

* attempt to fix

* Removed unneeded ToString() calls

* Forced all unit tests to use FakeClipboard
This commit is contained in:
Tig
2023-05-21 17:45:02 +02:00
committed by GitHub
parent 5eed00e8f5
commit 4d6781e5f9
51 changed files with 240 additions and 230 deletions

View File

@@ -823,7 +823,7 @@ namespace Terminal.Gui {
ResetSearchSet (noCopy: true);
foreach (var item in source.ToList ()) { // Iterate to preserver object type and force deep copy
if (item.ToString ().StartsWith (search.Text.ToString (), StringComparison.CurrentCultureIgnoreCase)) {
if (item.ToString ().StartsWith (search.Text, StringComparison.CurrentCultureIgnoreCase)) {
searchset.Add (item);
}
}