From 7635920b95ae89ee88b992294b9f9b7d55e60df1 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Fri, 10 Jun 2022 22:33:19 -0700 Subject: [PATCH] tests [nfc]: Fix some bits of formatting in test/flow.ts --- test/flow.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/flow.ts b/test/flow.ts index 6dcb6656..efddec1e 100644 --- a/test/flow.ts +++ b/test/flow.ts @@ -148,7 +148,7 @@ describe("Flow type syntax", function () { eol + "};", ); - check("var methodAnonymousParameter: { m(number): void };") + check("var methodAnonymousParameter: { m(number): void };"); check(`declare var v: { get getter(): number };`); check(`declare var v: { set setter(number): void };`); @@ -159,7 +159,7 @@ describe("Flow type syntax", function () { // Declare check("declare var A: string;"); - check("declare var methodAnonymousParameter: { m(number): void };") + check("declare var methodAnonymousParameter: { m(number): void };"); check("declare function foo(c: C): void;"); check("declare function foo(c: C, b: B): void;"); @@ -168,7 +168,7 @@ describe("Flow type syntax", function () { check("declare function f(): () => void;"); check("declare function f(): (cb: () => void) => () => void;"); check("declare function f(m: (cb: () => void) => () => void): void;"); - check("declare function anonymousParameter(number): void;") + check("declare function anonymousParameter(number): void;"); check("declare function f(): (() => void) => () => void;"); check("declare function f((() => void) => () => void): void;"); check("declare function f(): ('a' & mixed) => void;");