mirror of
https://github.com/Smaug123/unofficial-nunit-runner
synced 2025-10-08 10:38:41 +00:00
Compare commits
6 Commits
WoofWare.N
...
WoofWare.N
Author | SHA1 | Date | |
---|---|---|---|
|
41a39ca159 | ||
|
eb4dfae8f4 | ||
|
78f51d127c | ||
|
3866823ccd | ||
|
b600fab887 | ||
|
8dc23d5b38 |
1
.github/workflows/dotnet.yaml
vendored
1
.github/workflows/dotnet.yaml
vendored
@@ -74,6 +74,7 @@ jobs:
|
|||||||
run: 'nix develop --command dotnet exec ./TestRunner/bin/Release/net8.0/TestRunner.dll ./Consumer/bin/Release/net8.0/Consumer.dll --trx TrxOut/out.trx'
|
run: 'nix develop --command dotnet exec ./TestRunner/bin/Release/net8.0/TestRunner.dll ./Consumer/bin/Release/net8.0/Consumer.dll --trx TrxOut/out.trx'
|
||||||
- name: Parse Trx files
|
- name: Parse Trx files
|
||||||
uses: NasAmin/trx-parser@v0.6.0
|
uses: NasAmin/trx-parser@v0.6.0
|
||||||
|
if: always()
|
||||||
id: trx-parser
|
id: trx-parser
|
||||||
with:
|
with:
|
||||||
TRX_PATH: ${{ github.workspace }}/TrxOut
|
TRX_PATH: ${{ github.workspace }}/TrxOut
|
||||||
|
@@ -25,10 +25,15 @@ module TestCaseData =
|
|||||||
let ``Consume test data from multiple sources`` (i : int, s : string, arr : float[]) =
|
let ``Consume test data from multiple sources`` (i : int, s : string, arr : float[]) =
|
||||||
lock multipleSources (fun () -> multipleSources.Add (i, s, arr))
|
lock multipleSources (fun () -> multipleSources.Add (i, s, arr))
|
||||||
|
|
||||||
let optional = [ Some "hi" ; None ] |> List.map TestCaseData
|
let optionalData = [ Some "hi" ; None ] |> List.map TestCaseData
|
||||||
|
|
||||||
[<TestCaseSource(nameof optional)>]
|
[<TestCaseSource(nameof optionalData)>]
|
||||||
let ``Consume options`` (s : string option) : unit = s |> shouldEqual s
|
let ``Consume options, TestCaseData`` (s : string option) : unit = s |> shouldEqual s
|
||||||
|
|
||||||
|
let optionalRaw = [ Some "hi" ; None ]
|
||||||
|
|
||||||
|
[<TestCaseSource(nameof optionalRaw)>]
|
||||||
|
let ``Consume options, raw`` (s : string option) : unit = s |> shouldEqual s
|
||||||
|
|
||||||
[<OneTimeTearDown>]
|
[<OneTimeTearDown>]
|
||||||
let tearDown () =
|
let tearDown () =
|
||||||
|
@@ -291,9 +291,10 @@ module Filter =
|
|||||||
fun a b -> inner1 a b || inner2 a b
|
fun a b -> inner1 a b || inner2 a b
|
||||||
| Filter.Name (Match.Exact m) -> fun _fixture method -> method.Method.Name = m
|
| Filter.Name (Match.Exact m) -> fun _fixture method -> method.Method.Name = m
|
||||||
| Filter.Name (Match.Contains m) -> fun _fixture method -> method.Method.Name.Contains m
|
| Filter.Name (Match.Contains m) -> fun _fixture method -> method.Method.Name.Contains m
|
||||||
| Filter.FullyQualifiedName (Match.Exact m) -> fun fixture method -> (fixture.Name + method.Method.Name) = m
|
| Filter.FullyQualifiedName (Match.Exact m) ->
|
||||||
|
fun _fixture method -> (method.Method.DeclaringType.FullName + "." + method.Method.Name) = m
|
||||||
| Filter.FullyQualifiedName (Match.Contains m) ->
|
| Filter.FullyQualifiedName (Match.Contains m) ->
|
||||||
fun fixture method -> (fixture.Name + method.Method.Name).Contains m
|
fun _fixture method -> (method.Method.DeclaringType.FullName + "." + method.Method.Name).Contains m
|
||||||
| Filter.TestCategory (Match.Contains m) ->
|
| Filter.TestCategory (Match.Contains m) ->
|
||||||
fun _fixture method -> method.Categories |> List.exists (fun cat -> cat.Contains m)
|
fun _fixture method -> method.Categories |> List.exists (fun cat -> cat.Contains m)
|
||||||
| Filter.TestCategory (Match.Exact m) -> fun _fixture method -> method.Categories |> List.contains m
|
| Filter.TestCategory (Match.Exact m) -> fun _fixture method -> method.Categories |> List.contains m
|
||||||
|
@@ -230,6 +230,27 @@ module TestFixture =
|
|||||||
(test : SingleTestMethod)
|
(test : SingleTestMethod)
|
||||||
: (Result<TestMemberSuccess, TestMemberFailure> * IndividualTestRunMetadata) list
|
: (Result<TestMemberSuccess, TestMemberFailure> * IndividualTestRunMetadata) list
|
||||||
=
|
=
|
||||||
|
if test.Method.ContainsGenericParameters then
|
||||||
|
let failureMetadata =
|
||||||
|
{
|
||||||
|
Total = TimeSpan.Zero
|
||||||
|
Start = DateTimeOffset.Now
|
||||||
|
End = DateTimeOffset.Now
|
||||||
|
ComputerName = Environment.MachineName
|
||||||
|
ExecutionId = Guid.NewGuid ()
|
||||||
|
TestId = Guid.NewGuid ()
|
||||||
|
TestName = test.Name
|
||||||
|
ClassName = test.Method.DeclaringType.FullName
|
||||||
|
StdErr = None
|
||||||
|
StdOut = None
|
||||||
|
}
|
||||||
|
|
||||||
|
let error =
|
||||||
|
TestMemberFailure.Malformed [ "Test contained generic parameters; generics are not supported." ]
|
||||||
|
|
||||||
|
(Error error, failureMetadata) |> List.singleton
|
||||||
|
else
|
||||||
|
|
||||||
let resultPreRun =
|
let resultPreRun =
|
||||||
(None, test.Modifiers)
|
(None, test.Modifiers)
|
||||||
||> List.fold (fun _result modifier ->
|
||> List.fold (fun _result modifier ->
|
||||||
@@ -332,6 +353,7 @@ module TestFixture =
|
|||||||
yield
|
yield
|
||||||
Guid.NewGuid (),
|
Guid.NewGuid (),
|
||||||
match arg with
|
match arg with
|
||||||
|
| null -> [| (null : obj) |]
|
||||||
| :? Tuple<obj, obj> as (a, b) -> [| a ; b |]
|
| :? Tuple<obj, obj> as (a, b) -> [| a ; b |]
|
||||||
| :? Tuple<obj, obj, obj> as (a, b, c) -> [| a ; b ; c |]
|
| :? Tuple<obj, obj, obj> as (a, b, c) -> [| a ; b ; c |]
|
||||||
| :? Tuple<obj, obj, obj, obj> as (a, b, c, d) -> [| a ; b ; c ; d |]
|
| :? Tuple<obj, obj, obj, obj> as (a, b, c, d) -> [| a ; b ; c ; d |]
|
||||||
|
@@ -3,6 +3,11 @@ namespace TestRunner
|
|||||||
open System
|
open System
|
||||||
open System.Xml
|
open System.Xml
|
||||||
|
|
||||||
|
[<RequireQualifiedAccess>]
|
||||||
|
module private XmlUtil =
|
||||||
|
[<Literal>]
|
||||||
|
let NS = "http://microsoft.com/schemas/VisualStudio/TeamTest/2010"
|
||||||
|
|
||||||
/// Describes the times at which a complete test run went through state transitions.
|
/// Describes the times at which a complete test run went through state transitions.
|
||||||
/// These all have semantics specific to the test runner, and I have not rigorously worked out what
|
/// These all have semantics specific to the test runner, and I have not rigorously worked out what
|
||||||
/// semantics NUnit has, so take these with considerable amounts of salt.
|
/// semantics NUnit has, so take these with considerable amounts of salt.
|
||||||
@@ -22,8 +27,7 @@ type TrxReportTimes =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node =
|
let node = doc.CreateElement ("Times", XmlUtil.NS)
|
||||||
doc.CreateElement ("Times", "http://microsoft.com/schemas/VisualStudio/TeamTest/2010")
|
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "creation"
|
let attr = doc.CreateAttribute "creation"
|
||||||
@@ -113,7 +117,7 @@ type TrxDeployment =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "Deployment"
|
let node = doc.CreateElement ("Deployment", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "runDeploymentRoot"
|
let attr = doc.CreateAttribute "runDeploymentRoot"
|
||||||
@@ -149,7 +153,7 @@ type TrxTestSettings =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "TestSettings"
|
let node = doc.CreateElement ("TestSettings", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "name"
|
let attr = doc.CreateAttribute "name"
|
||||||
@@ -243,13 +247,13 @@ type TrxErrorInfo =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "ErrorInfo"
|
let node = doc.CreateElement ("ErrorInfo", XmlUtil.NS)
|
||||||
|
|
||||||
match this.Message with
|
match this.Message with
|
||||||
| None -> ()
|
| None -> ()
|
||||||
| Some message ->
|
| Some message ->
|
||||||
let child = doc.CreateTextNode message
|
let child = doc.CreateTextNode message
|
||||||
let messageNode = doc.CreateElement "Message"
|
let messageNode = doc.CreateElement ("Message", XmlUtil.NS)
|
||||||
messageNode.AppendChild child |> ignore<XmlNode>
|
messageNode.AppendChild child |> ignore<XmlNode>
|
||||||
node.AppendChild messageNode |> ignore<XmlNode>
|
node.AppendChild messageNode |> ignore<XmlNode>
|
||||||
|
|
||||||
@@ -257,7 +261,7 @@ type TrxErrorInfo =
|
|||||||
| None -> ()
|
| None -> ()
|
||||||
| Some stackTrace ->
|
| Some stackTrace ->
|
||||||
let child = doc.CreateTextNode stackTrace
|
let child = doc.CreateTextNode stackTrace
|
||||||
let stackTraceNode = doc.CreateElement "StackTrace"
|
let stackTraceNode = doc.CreateElement ("StackTrace", XmlUtil.NS)
|
||||||
stackTraceNode.AppendChild child |> ignore<XmlNode>
|
stackTraceNode.AppendChild child |> ignore<XmlNode>
|
||||||
node.AppendChild stackTraceNode |> ignore<XmlNode>
|
node.AppendChild stackTraceNode |> ignore<XmlNode>
|
||||||
|
|
||||||
@@ -291,13 +295,13 @@ type TrxOutput =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "Output"
|
let node = doc.CreateElement ("Output", XmlUtil.NS)
|
||||||
|
|
||||||
match this.StdOut with
|
match this.StdOut with
|
||||||
| None -> ()
|
| None -> ()
|
||||||
| Some stdout ->
|
| Some stdout ->
|
||||||
let text = doc.CreateTextNode stdout
|
let text = doc.CreateTextNode stdout
|
||||||
let childNode = doc.CreateElement "StdOut"
|
let childNode = doc.CreateElement ("StdOut", XmlUtil.NS)
|
||||||
childNode.AppendChild text |> ignore<XmlNode>
|
childNode.AppendChild text |> ignore<XmlNode>
|
||||||
node.AppendChild childNode |> ignore<XmlNode>
|
node.AppendChild childNode |> ignore<XmlNode>
|
||||||
|
|
||||||
@@ -362,7 +366,7 @@ type TrxUnitTestResult =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "UnitTestResult"
|
let node = doc.CreateElement ("UnitTestResult", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "executionId"
|
let attr = doc.CreateAttribute "executionId"
|
||||||
@@ -582,7 +586,7 @@ type TrxTestMethod =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "TestMethod"
|
let node = doc.CreateElement ("TestMethod", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "codeBase"
|
let attr = doc.CreateAttribute "codeBase"
|
||||||
@@ -668,7 +672,7 @@ type TrxExecution =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "Execution"
|
let node = doc.CreateElement ("Execution", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "id"
|
let attr = doc.CreateAttribute "id"
|
||||||
@@ -723,7 +727,7 @@ type TrxUnitTest =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "UnitTest"
|
let node = doc.CreateElement ("UnitTest", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "name"
|
let attr = doc.CreateAttribute "name"
|
||||||
@@ -821,7 +825,7 @@ type TrxTestEntry =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "TestEntry"
|
let node = doc.CreateElement ("TestEntry", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "testListId"
|
let attr = doc.CreateAttribute "testListId"
|
||||||
@@ -905,7 +909,7 @@ type TrxTestListEntry =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "TestList"
|
let node = doc.CreateElement ("TestList", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "name"
|
let attr = doc.CreateAttribute "name"
|
||||||
@@ -998,7 +1002,7 @@ type TrxRunInfo =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "RunInfo"
|
let node = doc.CreateElement ("RunInfo", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "computerName"
|
let attr = doc.CreateAttribute "computerName"
|
||||||
@@ -1015,7 +1019,7 @@ type TrxRunInfo =
|
|||||||
attr.Value <- this.Timestamp.ToString "o"
|
attr.Value <- this.Timestamp.ToString "o"
|
||||||
node.Attributes.Append attr |> ignore<XmlAttribute>
|
node.Attributes.Append attr |> ignore<XmlAttribute>
|
||||||
|
|
||||||
let childNode = doc.CreateElement "Text"
|
let childNode = doc.CreateElement ("Text", XmlUtil.NS)
|
||||||
let textNode = doc.CreateTextNode this.Text
|
let textNode = doc.CreateTextNode this.Text
|
||||||
childNode.AppendChild textNode |> ignore<XmlNode>
|
childNode.AppendChild textNode |> ignore<XmlNode>
|
||||||
node.AppendChild childNode |> ignore<XmlNode>
|
node.AppendChild childNode |> ignore<XmlNode>
|
||||||
@@ -1154,7 +1158,7 @@ type TrxCounters =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "Counters"
|
let node = doc.CreateElement ("Counters", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "total"
|
let attr = doc.CreateAttribute "total"
|
||||||
@@ -1475,7 +1479,7 @@ type TrxResultsSummary =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node = doc.CreateElement "ResultSummary"
|
let node = doc.CreateElement ("ResultSummary", XmlUtil.NS)
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "outcome"
|
let attr = doc.CreateAttribute "outcome"
|
||||||
@@ -1486,7 +1490,7 @@ type TrxResultsSummary =
|
|||||||
node.AppendChild (this.Output.toXml doc) |> ignore<XmlNode>
|
node.AppendChild (this.Output.toXml doc) |> ignore<XmlNode>
|
||||||
|
|
||||||
do
|
do
|
||||||
let runInfosNode = doc.CreateElement "RunInfos"
|
let runInfosNode = doc.CreateElement ("RunInfos", XmlUtil.NS)
|
||||||
|
|
||||||
for runInfo in this.RunInfos do
|
for runInfo in this.RunInfos do
|
||||||
runInfosNode.AppendChild (runInfo.toXml doc) |> ignore<XmlNode>
|
runInfosNode.AppendChild (runInfo.toXml doc) |> ignore<XmlNode>
|
||||||
@@ -1575,8 +1579,7 @@ type TrxReport =
|
|||||||
}
|
}
|
||||||
|
|
||||||
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
member internal this.toXml (doc : XmlDocument) : XmlNode =
|
||||||
let node =
|
let node = doc.CreateElement ("TestRun", XmlUtil.NS)
|
||||||
doc.CreateElement ("TestRun", "http://microsoft.com/schemas/VisualStudio/TeamTest/2010")
|
|
||||||
|
|
||||||
do
|
do
|
||||||
let attr = doc.CreateAttribute "id"
|
let attr = doc.CreateAttribute "id"
|
||||||
@@ -1592,7 +1595,7 @@ type TrxReport =
|
|||||||
node.AppendChild (this.Settings.toXml doc) |> ignore<XmlNode>
|
node.AppendChild (this.Settings.toXml doc) |> ignore<XmlNode>
|
||||||
|
|
||||||
do
|
do
|
||||||
let resultNode = doc.CreateElement "Results"
|
let resultNode = doc.CreateElement ("Results", XmlUtil.NS)
|
||||||
|
|
||||||
for result in this.Results do
|
for result in this.Results do
|
||||||
resultNode.AppendChild (result.toXml doc) |> ignore<XmlNode>
|
resultNode.AppendChild (result.toXml doc) |> ignore<XmlNode>
|
||||||
@@ -1600,7 +1603,7 @@ type TrxReport =
|
|||||||
node.AppendChild resultNode |> ignore<XmlNode>
|
node.AppendChild resultNode |> ignore<XmlNode>
|
||||||
|
|
||||||
do
|
do
|
||||||
let defsNode = doc.CreateElement "TestDefinitions"
|
let defsNode = doc.CreateElement ("TestDefinitions", XmlUtil.NS)
|
||||||
|
|
||||||
for result in this.TestDefinitions do
|
for result in this.TestDefinitions do
|
||||||
defsNode.AppendChild (result.toXml doc) |> ignore<XmlNode>
|
defsNode.AppendChild (result.toXml doc) |> ignore<XmlNode>
|
||||||
@@ -1608,7 +1611,7 @@ type TrxReport =
|
|||||||
node.AppendChild defsNode |> ignore<XmlNode>
|
node.AppendChild defsNode |> ignore<XmlNode>
|
||||||
|
|
||||||
do
|
do
|
||||||
let testsNode = doc.CreateElement "TestEntries"
|
let testsNode = doc.CreateElement ("TestEntries", XmlUtil.NS)
|
||||||
|
|
||||||
for result in this.TestEntries do
|
for result in this.TestEntries do
|
||||||
testsNode.AppendChild (result.toXml doc) |> ignore<XmlNode>
|
testsNode.AppendChild (result.toXml doc) |> ignore<XmlNode>
|
||||||
@@ -1616,7 +1619,7 @@ type TrxReport =
|
|||||||
node.AppendChild testsNode |> ignore<XmlNode>
|
node.AppendChild testsNode |> ignore<XmlNode>
|
||||||
|
|
||||||
do
|
do
|
||||||
let listsNode = doc.CreateElement "TestLists"
|
let listsNode = doc.CreateElement ("TestLists", XmlUtil.NS)
|
||||||
|
|
||||||
for result in this.TestLists do
|
for result in this.TestLists do
|
||||||
listsNode.AppendChild (result.toXml doc) |> ignore<XmlNode>
|
listsNode.AppendChild (result.toXml doc) |> ignore<XmlNode>
|
||||||
|
@@ -133,7 +133,7 @@ module Program =
|
|||||||
| None ->
|
| None ->
|
||||||
// Keep on trucking: let's be optimistic and hope that we're self-contained.
|
// Keep on trucking: let's be optimistic and hope that we're self-contained.
|
||||||
[ dll.Directory ]
|
[ dll.Directory ]
|
||||||
| Some (Choice1Of2 runtime) -> [ dll.Directory ; DirectoryInfo runtime.Path ]
|
| Some (Choice1Of2 runtime) -> [ dll.Directory ; DirectoryInfo $"%s{runtime.Path}/%s{runtime.Version}" ]
|
||||||
| Some (Choice2Of2 sdk) -> [ dll.Directory ; DirectoryInfo sdk.Path ]
|
| Some (Choice2Of2 sdk) -> [ dll.Directory ; DirectoryInfo sdk.Path ]
|
||||||
|
|
||||||
let main argv =
|
let main argv =
|
||||||
@@ -401,6 +401,7 @@ module Program =
|
|||||||
let contents = TrxReport.toXml report |> fun d -> d.OuterXml
|
let contents = TrxReport.toXml report |> fun d -> d.OuterXml
|
||||||
trxPath.Directory.Create ()
|
trxPath.Directory.Create ()
|
||||||
File.WriteAllText (trxPath.FullName, contents)
|
File.WriteAllText (trxPath.FullName, contents)
|
||||||
|
Console.Error.WriteLine $"Written TRX file: %s{trxPath.FullName}"
|
||||||
| None -> ()
|
| None -> ()
|
||||||
|
|
||||||
match outcome with
|
match outcome with
|
||||||
|
Reference in New Issue
Block a user