Skip to content

Commit 4a594a1

Browse files
Merge pull request #3821 from windows-toolkit/michael-hawker-patch-1
Update XamlIslandsTest_StringExtensions to fix from Extensions namesp…
2 parents 8c57734 + d6bc35e commit 4a594a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UnitTests/UnitTests.XamlIslands.UWPApp/XamlIslandsTest_StringExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public async Task StringExtensions_GetViewLocalized()
2323
await App.Dispatcher.EnqueueAsync(() =>
2424
{
2525
var xamlRoot = App.XamlRoot;
26-
var str = StringExtensions.GetViewLocalized("abc", xamlRoot.UIContext);
26+
var str = "abc".GetViewLocalized(xamlRoot.UIContext);
2727
Assert.AreEqual("ABCDEF", str);
2828
});
2929
}
@@ -136,4 +136,4 @@ await App.Dispatcher.EnqueueAsync(async () =>
136136
});
137137
}
138138
}
139-
}
139+
}

0 commit comments

Comments
 (0)