提交 27f2a829 编写于 作者: L latkin

Fix some minor test issues

上级 72185167
......@@ -504,7 +504,8 @@ module MembersTest =
let s = 2.0f<kg>
let d = 2.0M<kg>
#if !NetCore
#if NetCore
#else
let tmpCulture = System.Threading.Thread.CurrentThread.CurrentCulture
System.Threading.Thread.CurrentThread.CurrentCulture <- System.Globalization.CultureInfo("en-US")
test "f" (f.ToString().Equals("2"))
......
// #Regression #Conformance #TypesAndModules #GeneratedEqualityAndHashing #Attributes
//<Expects status="error" span="(9,8-9,9)" id="FS0377">This type uses an invalid mix of the attributes 'NoEquality', 'ReferenceEquality', 'StructuralEquality', 'NoComparison' and 'StructuralComparison' attributes$</Expects>
//<Expects status="error" span="(9,8-9,9)" id="FS0377">This type uses an invalid mix of the attributes 'NoEquality', 'ReferenceEquality', 'StructuralEquality', 'NoComparison' and 'StructuralComparison'$</Expects>
//<Expects status="error" span="(9,8-9,9)" id="FS0385">A type with attribute 'CustomComparison' must have an explicit implementation of at least one of 'System\.IComparable' or 'System\.Collections\.IStructuralComparable'$</Expects>
module M06 =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册