Skip to content

Commit

Permalink
Fix tests to be correct
Browse files Browse the repository at this point in the history
  • Loading branch information
marner2 committed Aug 6, 2022
1 parent 94a7b80 commit 24a541d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Elmish.WPF.Tests/BindingVmHelpersTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ module Initialize =

let binding =
BindingData.OneWay.id
|> BindingData.mapModel box

let vmBinding =
Initialize(LoggingViewModelArgs.none, "Nothing", (fun _ -> failwith "Should not call get selected item"))
Expand Down Expand Up @@ -49,7 +48,6 @@ module Get =

let binding =
BindingData.OneWay.id
|> BindingData.mapModel box

let vmBinding =
Initialize(LoggingViewModelArgs.none, "Nothing", (fun _ -> failwith "Should not call get selected item"))
Expand Down Expand Up @@ -84,8 +82,6 @@ module Set =

let binding =
BindingData.TwoWay.id
|> BindingData.mapModel box
|> BindingData.mapMsg unbox

let dispatch msg =
model.Value <- msg
Expand Down Expand Up @@ -119,8 +115,6 @@ module Update =

let binding =
BindingData.TwoWay.id
|> BindingData.mapModel box
|> BindingData.mapMsg unbox

let dispatch msg =
failwith $"Should not dispatch, got {msg}"
Expand Down

0 comments on commit 24a541d

Please sign in to comment.