File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ let getMsgNameAndFields (t: Type) (x: 'Msg) : string * obj =
7070 #if FABLE_ COMPILER
7171 |> JsInterop.createObj
7272 #else
73- |> List.ofArray // So that we can compare the result by value in the unit tests...
7473 |> box
7574 #endif
7675
Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ type RootMsg =
1919
2020let getTraceForMsg ( msg : 'Msg ) =
2121 let actualName , actualValues = Tracers.getMsgNameAndFields typeof< 'Msg> msg
22- let actualValues = actualValues :?> ( string * obj) list
22+ let actualValues =
23+ actualValues :?> ( string * obj) array
24+ |> Array.toList // So that we can compare the actual vs expected by value in the tests.
2325 actualName, actualValues
2426
2527[<Test>]
You can’t perform that action at this time.
0 commit comments