From 8fd81705f3eac325fe86240eff17a5b5f7619d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kan=20Th=C3=B6rngren?= Date: Tue, 4 Feb 2020 19:25:49 -0800 Subject: [PATCH] Fix spelling in error message --- src/FSharp.Data.GraphQL.Client/BaseTypes.fs | 4 ++-- .../FSharp.Data.GraphQL.Tests.fsproj | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/FSharp.Data.GraphQL.Client/BaseTypes.fs b/src/FSharp.Data.GraphQL.Client/BaseTypes.fs index 2dc4f5a2b..20110b7ee 100644 --- a/src/FSharp.Data.GraphQL.Client/BaseTypes.fs +++ b/src/FSharp.Data.GraphQL.Client/BaseTypes.fs @@ -346,7 +346,7 @@ module internal JsonValueHelper = | Some "Date" -> match DateTime.TryParse(s, CultureInfo.InvariantCulture, DateTimeStyles.None) with | (true, d) -> box d - | _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time sring, but the conversion failed." + | _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time string, but the conversion failed." | Some _ -> box s | _ -> failwith "A string type was received in the query response item, but the matching schema field is not a string based type." @@ -362,7 +362,7 @@ module internal JsonValueHelper = | Some "Date" -> match DateTime.TryParse(s, CultureInfo.InvariantCulture, DateTimeStyles.None) with | (true, d) -> makeSomeIfNeeded d - | _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time sring, but the conversion failed." + | _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time string, but the conversion failed." | Some _ -> s |> makeSomeIfNeeded | _ -> failwith "A string type was received in the query response item, but the matching schema field is not a string based type." diff --git a/tests/FSharp.Data.GraphQL.Tests/FSharp.Data.GraphQL.Tests.fsproj b/tests/FSharp.Data.GraphQL.Tests/FSharp.Data.GraphQL.Tests.fsproj index 8399de4bd..8650fc999 100644 --- a/tests/FSharp.Data.GraphQL.Tests/FSharp.Data.GraphQL.Tests.fsproj +++ b/tests/FSharp.Data.GraphQL.Tests/FSharp.Data.GraphQL.Tests.fsproj @@ -69,10 +69,4 @@ - - - - - -