Skip to content

Commit

Permalink
Renamed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ncave committed Nov 25, 2024
1 parent d1077a3 commit d80f99b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/Compiler/CompilerHelpersTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ let tests =
Fable.CompilerExt.expectedVersionMatchesActual "5.0.1" "5.0.0" |> equal true
Fable.CompilerExt.expectedVersionMatchesActual "5.1.0" "5.0.0" |> equal true

testCase "expectedVersionMatchesActual works if actual version is highter than expected version" <| fun _ ->
testCase "expectedVersionMatchesActual works if actual version is higher than expected version" <| fun _ ->
Fable.CompilerExt.expectedVersionMatchesActual "4.0.0" "5.0.0" |> equal true
Fable.CompilerExt.expectedVersionMatchesActual "4.0.1" "5.0.0" |> equal true
Fable.CompilerExt.expectedVersionMatchesActual "4.1.0" "5.0.0" |> equal true

testCase "expectedVersionMatchesActual reject if actual version is highter than expected version" <| fun _ ->
testCase "expectedVersionMatchesActual reject if actual version is lower than expected version" <| fun _ ->
Fable.CompilerExt.expectedVersionMatchesActual "4.0.0" "3.0.0" |> equal false
Fable.CompilerExt.expectedVersionMatchesActual "4.0.1" "3.0.0" |> equal false
Fable.CompilerExt.expectedVersionMatchesActual "4.1.0" "3.0.0" |> equal false
Expand Down

0 comments on commit d80f99b

Please sign in to comment.