Skip to content

Commit 6e93306

Browse files
author
Viktor Tochonov
committed
PR fixes
1 parent a5e102d commit 6e93306

File tree

2 files changed

+3
-3
lines changed
  • tests
    • FSharp.Data.GraphQL.IntegrationTests.Server
    • FSharp.Data.GraphQL.IntegrationTests

2 files changed

+3
-3
lines changed

tests/FSharp.Data.GraphQL.IntegrationTests.Server/Schema.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ module Schema =
199199
args = [ Define.Input("request", UploadRequestType, description = "The request for uploading several files in different forms.") ],
200200
resolve = fun ctx _ -> mapUploadRequestToOutput (ctx.Arg("request")))
201201
Define.Field (
202-
name = "uploadFileComplex",
202+
name = "uploadComplex",
203203
typedef = StringType,
204204
description = "",
205205
args = [ Define.Input ("input", InputFileObject) ],

tests/FSharp.Data.GraphQL.IntegrationTests/Helpers.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ open System.Runtime.InteropServices
77
open FSharp.Data.GraphQL
88

99
let normalize (x : string) =
10-
x.Replace("\r\n", "\n").Split ([| '\n' |])
11-
|> Array.map (fun x -> x.Trim ())
10+
x.Replace("\r\n", "\n").Split ('\n')
11+
|> Array.map _.Trim()
1212
|> Array.reduce (fun x y -> x + "\n" + y)
1313

1414
let equals (expected : 'T) (actual : 'T) = Assert.Equal<'T> (expected, actual)

0 commit comments

Comments
 (0)