Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martinez <joelmartinez@gmail.com>2018-05-03 22:01:44 +0300
committerJoel Martinez <joelmartinez@gmail.com>2018-05-03 22:12:00 +0300
commit90c6935eaf1336be53ccd6c80037653137a4344b (patch)
tree3abe9d2ade006f3aef48cf0c452508793206d3e3 /mdoc/mdoc.Test/mdoc.Test.FSharp
parent5b681433ca59ebd1ca0dc8262ea480c391a2ecc9 (diff)
Fixed unit test that failed on mac.
Unit test was using FSharpMap, but the list of interfaces being implemented were different on my local install. So to avoid depending on the locally installed SDK, just added a test class that will be consistent to test against.
Diffstat (limited to 'mdoc/mdoc.Test/mdoc.Test.FSharp')
-rw-r--r--mdoc/mdoc.Test/mdoc.Test.FSharp/Collections.fs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mdoc/mdoc.Test/mdoc.Test.FSharp/Collections.fs b/mdoc/mdoc.Test/mdoc.Test.FSharp/Collections.fs
index 53f945df..f2eb1230 100644
--- a/mdoc/mdoc.Test/mdoc.Test.FSharp/Collections.fs
+++ b/mdoc/mdoc.Test/mdoc.Test.FSharp/Collections.fs
@@ -1,6 +1,18 @@
module Collections
open FSharp.Collections
+open System
+open System.Collections
+open System.Collections.Generic
let f (x:Map<int, int>) = 0
let f2 (x:seq<int>) = 0
+
+type MDocInterface<'key> = interface
+end
+
+type MDocTestMap<'Key, 'Value> = class
+ interface MDocInterface<KeyValuePair<'Key, 'Value>>
+
+
+end \ No newline at end of file