File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
tests/FSharp.Core.UnitTests/FSharp.Core Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -447,15 +447,13 @@ type OperatorsModule2() =
447447 if not Info.isNetFramework then
448448 Assert.AreEqual( 9223372036854775807 n, result)
449449 else
450- // Cannot express this as a literal, see https://github.com/dotnet/fsharp/issues/9524
451- Assert.AreEqual( " -9223372036854775808" , string result)
450+ Assert.AreEqual(- 9223372036854775808 n, string result)
452451
453452 let result = Operators.nativeint System.Double.MinValue
454453 if Info.isX86Runtime then
455454 Assert.AreEqual(- 2147483648 n, result)
456455 else
457- // Cannot express this as a literal, see https://github.com/dotnet/fsharp/issues/9524
458- Assert.AreEqual( " -9223372036854775808" , string result)
456+ Assert.AreEqual(- 9223372036854775808 n, string result)
459457
460458 // Max and min value as literals (this breaks compilation if the lexer fails).
461459 // The following tests ensure that the proper value is parsed, which is similar to `nativeint Int64.MaxValue` etc.
Original file line number Diff line number Diff line change @@ -543,15 +543,13 @@ module OperatorsModuleDynamic =
543543 if not Info.isNetFramework then
544544 Assert.AreEqual( 9223372036854775807 n, result)
545545 else
546- // Cannot express this as a literal, see https://github.com/dotnet/fsharp/issues/9524
547- Assert.AreEqual( " -9223372036854775808" , string result)
546+ Assert.AreEqual(- 9223372036854775808 n, string result)
548547
549548 let result = Operators.nativeint System.Double.MinValue
550549 if Info.isX86Runtime then
551550 Assert.AreEqual(- 2147483648 n, result)
552551 else
553- // Cannot express this as a literal, see https://github.com/dotnet/fsharp/issues/9524
554- Assert.AreEqual( " -9223372036854775808" , string result)
552+ Assert.AreEqual(- 9223372036854775808 n, string result)
555553
556554 // Max and min value as literals (this breaks compilation if the lexer fails).
557555 // The following tests ensure that the proper value is parsed, which is similar to `nativeint Int64.MaxValue` etc.
You can’t perform that action at this time.
0 commit comments