mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-27 21:29:55 +03:00
Fix test case.
This commit is contained in:
parent
fd1c27e6b8
commit
b79d132625
@ -245,7 +245,8 @@ all =
|
||||
, method = "GET"
|
||||
, headers = []
|
||||
, body = BackendTask.Http.emptyBody
|
||||
, options = Nothing
|
||||
, retries = Nothing
|
||||
, timeoutInMs = Nothing
|
||||
}
|
||||
(BackendTask.Http.expectJson
|
||||
(JD.field "stargazer_count" JD.int)
|
||||
@ -264,7 +265,8 @@ all =
|
||||
, method = "GET"
|
||||
, headers = []
|
||||
, body = BackendTask.Http.emptyBody
|
||||
, options = Nothing
|
||||
, retries = Nothing
|
||||
, timeoutInMs = Nothing
|
||||
}
|
||||
BackendTask.Http.expectString
|
||||
|> BackendTask.throw
|
||||
@ -287,7 +289,8 @@ all =
|
||||
, method = "GET"
|
||||
, headers = []
|
||||
, body = BackendTask.Http.emptyBody
|
||||
, options = Nothing
|
||||
, retries = Nothing
|
||||
, timeoutInMs = Nothing
|
||||
}
|
||||
BackendTask.Http.expectString
|
||||
|> BackendTask.throw
|
||||
@ -322,7 +325,8 @@ String was not uppercased"""
|
||||
, url = "https://api.github.com/repos/dillonkearns/elm-pages"
|
||||
, headers = []
|
||||
, body = BackendTask.Http.emptyBody
|
||||
, options = Nothing
|
||||
, retries = Nothing
|
||||
, timeoutInMs = Nothing
|
||||
}
|
||||
(BackendTask.Http.expectJson
|
||||
(JD.field "stargazer_count" JD.int)
|
||||
|
Loading…
Reference in New Issue
Block a user