From d6bc35e5bde0f5546e9740bfbd88e1d961c29288 Mon Sep 17 00:00:00 2001 From: "Michael Hawker MSFT (XAML Llama)" <24302614+michael-hawker@users.noreply.github.com> Date: Mon, 8 Mar 2021 11:02:29 -0800 Subject: [PATCH] Update XamlIslandsTest_StringExtensions to fix from Extensions namespace change Related to #3743 --- .../XamlIslandsTest_StringExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnitTests/UnitTests.XamlIslands.UWPApp/XamlIslandsTest_StringExtensions.cs b/UnitTests/UnitTests.XamlIslands.UWPApp/XamlIslandsTest_StringExtensions.cs index aeb1c18416c..876c519e0c3 100644 --- a/UnitTests/UnitTests.XamlIslands.UWPApp/XamlIslandsTest_StringExtensions.cs +++ b/UnitTests/UnitTests.XamlIslands.UWPApp/XamlIslandsTest_StringExtensions.cs @@ -23,7 +23,7 @@ public async Task StringExtensions_GetViewLocalized() await App.Dispatcher.EnqueueAsync(() => { var xamlRoot = App.XamlRoot; - var str = StringExtensions.GetViewLocalized("abc", xamlRoot.UIContext); + var str = "abc".GetViewLocalized(xamlRoot.UIContext); Assert.AreEqual("ABCDEF", str); }); } @@ -136,4 +136,4 @@ await App.Dispatcher.EnqueueAsync(async () => }); } } -} \ No newline at end of file +}