Skip to content

Commit

Permalink
SimpleTests - Fix typo (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
64J0 authored Aug 13, 2022
1 parent c967f9f commit 1b867ad
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/Saturn.UnitTests/SimpleTests.fs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module SimpleTets
module SimpleTests

open Expecto
open Saturn
Expand All @@ -12,20 +12,19 @@ let somePost : HttpHandler =
fun _ ctx ->
task {
let id = "myId"
let mkLinks x = [
let mkLinks () = [
"myLink1"
"myLink2"
]


return!
{ id = id
links = mkLinks id }
links = mkLinks () }
|> Response.accepted ctx
}

let router = router {
post "/" somePost
post "/" somePost
}

[<Tests>]
Expand Down

0 comments on commit 1b867ad

Please sign in to comment.