mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[Tests]Fix test file encoding from Latin-1 to UTF-8 (#25838)
This commit is contained in:
@@ -55,9 +55,9 @@ namespace Community.PowerToys.Run.Plugin.UnitConverter.UnitTest
|
|||||||
|
|
||||||
[DataTestMethod]
|
[DataTestMethod]
|
||||||
[DataRow(new string[] { "5", "CeLsIuS", "in", "faHrenheiT" }, new string[] { "5", "DegreeCelsius", "in", "DegreeFahrenheit" })]
|
[DataRow(new string[] { "5", "CeLsIuS", "in", "faHrenheiT" }, new string[] { "5", "DegreeCelsius", "in", "DegreeFahrenheit" })]
|
||||||
[DataRow(new string[] { "5", "f", "in", "celsius" }, new string[] { "5", "<EFBFBD>f", "in", "DegreeCelsius" })]
|
[DataRow(new string[] { "5", "f", "in", "celsius" }, new string[] { "5", "°f", "in", "DegreeCelsius" })]
|
||||||
[DataRow(new string[] { "5", "c", "in", "f" }, new string[] { "5", "<EFBFBD>c", "in", "<EFBFBD>f" })]
|
[DataRow(new string[] { "5", "c", "in", "f" }, new string[] { "5", "°c", "in", "°f" })]
|
||||||
[DataRow(new string[] { "5", "f", "in", "c" }, new string[] { "5", "<EFBFBD>f", "in", "<EFBFBD>c" })]
|
[DataRow(new string[] { "5", "f", "in", "c" }, new string[] { "5", "°f", "in", "°c" })]
|
||||||
public void PrefixesDegrees(string[] input, string[] expectedResult)
|
public void PrefixesDegrees(string[] input, string[] expectedResult)
|
||||||
{
|
{
|
||||||
InputInterpreter.DegreePrefixer(ref input);
|
InputInterpreter.DegreePrefixer(ref input);
|
||||||
|
|||||||
Reference in New Issue
Block a user