Skip to content

Commit d370205

Browse files
committed
fix test that fails in certain locales
1 parent 98180e0 commit d370205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/client/Unit/src/unit/TestStreamWireFormatting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void TestSingleDecoding1()
6262
[Test]
6363
public void TestSingleDecoding2()
6464
{
65-
Assert.AreEqual("1.234",
65+
Assert.AreEqual(1.234f.ToString(),
6666
StreamWireFormatting.ReadString(Reader
6767
(new byte[] { 8, 63, 157, 243, 182 })));
6868
}

0 commit comments

Comments
 (0)