mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
Enabling FxCop on tests (#6481)
This commit is contained in:
@@ -23,7 +23,7 @@ namespace ImageResizer.Views
|
||||
[InlineData("MinutesSeconds", 0, 2, 2)]
|
||||
[InlineData("Second", 0, 0, 1)]
|
||||
[InlineData("Seconds", 0, 0, 2)]
|
||||
public void Convert_works(string resource, int hours, int minutes, int seconds)
|
||||
public void ConvertWorks(string resource, int hours, int minutes, int seconds)
|
||||
{
|
||||
var timeRemaining = new TimeSpan(hours, minutes, seconds);
|
||||
var converter = new TimeRemainingConverter();
|
||||
@@ -36,7 +36,8 @@ namespace ImageResizer.Views
|
||||
|
||||
Assert.Equal(
|
||||
string.Format(
|
||||
Resources.ResourceManager.GetString("Progress_TimeRemaining_" + resource),
|
||||
CultureInfo.InvariantCulture,
|
||||
Resources.ResourceManager.GetString("Progress_TimeRemaining_" + resource, CultureInfo.InvariantCulture),
|
||||
hours,
|
||||
minutes,
|
||||
seconds),
|
||||
|
||||
Reference in New Issue
Block a user