Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2044977

Browse files
PatrickMcDonaldlatkin
authored andcommitted
Enable IsNull test in UnboxAndOptionStuff() tests
closesdotnet#452
1 parent9bd876f commit2044977

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/fsharp/FSharp.Core.Unittests/FSharp.Core/PrimTypes.fs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,8 @@ type UnboxAndOptionStuff() =
674674
Assert.IsTrue( tryUnbox<int>(box1)= Some1)
675675
Assert.IsTrue( tryUnbox<string>(box"")= Some"")
676676
Assert.IsTrue( tryUnbox<string>(box1)= None)
677-
677+
678+
[<Test>]
678679
memberthis.IsNull()=
679680
Assert.IsTrue( isNull(null: string))
680681
Assert.IsTrue( isNull(null: string[]))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp