Skip to content

Commit

Permalink
fix: Remove failing Range from test
Browse files Browse the repository at this point in the history
  • Loading branch information
morning4coffe-dev committed Jul 25, 2023
1 parent c7d2bdc commit 686e436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SamplesApp/SamplesApp.Shared/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -653,15 +653,15 @@ void AssertIsUsable(Windows.Storage.ApplicationDataContainer container)
}

/// <summary>
/// Asserts that the App Title was found in manifest and load from resources.
/// Asserts that the App Title was found in manifest and loaded from resources.
/// </summary>
public void AssertIssue12936()
{
var title = ApplicationView.GetForCurrentView().Title;

Assert.IsFalse(string.IsNullOrEmpty(title), "App Title is empty.");

Assert.IsFalse(title.Contains("ms-resource:"), $"'{title["ms-resource:".Length..].Trim()}' wasn't found in resources. App Title contains 'ms-resource:'.");
Assert.IsFalse(title.Contains("ms-resource:"), $"'{title}' wasn't found in resources.");
}

/// <summary>
Expand Down

0 comments on commit 686e436

Please sign in to comment.