[CSHARP-802] CSharp624Tests.TestKeyIsNotAString Test is failing Created: 14/Aug/13  Updated: 02/Apr/15  Resolved: 16/Aug/13

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.9

Type: Improvement Priority: Minor - P4
Reporter: Dario Kondratiuk Assignee: Sridhar Nanjundeswaran
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows (maybe any OS) with something different to "." as a decimal separator



 Description   

If your OS has something different to "." as a decimal separator the test fails because it expects the ToString of 1.5 to be "1.5"



 Comments   
Comment by auto [ 16/Aug/13 ]

Author:

{u'username': u'sridharn', u'name': u'Sridhar Nanjundeswaran', u'email': u'sridhar@10gen.com'}

Message: CSHARP-802 - Fix expected value generation logic. Default double.toString()is culture dependent whereas the serialization mechanism generates culture invariant strings
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/44d1d98aac0d30770e3bf1466083792668256d6d

Generated at Wed Feb 07 21:37:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.