From ac013ff25480151fb80b9d345829211ec736dc6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Sat, 2 Sep 2017 14:37:39 +0200 Subject: [PATCH] formatting --- types/argparse/argparse-tests.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/types/argparse/argparse-tests.ts b/types/argparse/argparse-tests.ts index fe5d4fd765..aef18b665b 100644 --- a/types/argparse/argparse-tests.ts +++ b/types/argparse/argparse-tests.ts @@ -250,15 +250,11 @@ console.log(args.accumulate(args.integers)); const formatterExample = new ArgumentParser({ prog: 'PROG', formatterClass: RawDescriptionHelpFormatter, - description: 'Keep the formatting\n' + - ' exactly as it is written\n' + - '\n' + - 'here\n' + description: `Keep the formatting\nexactly as it is written\n\nhere\n`, }); formatterExample.addArgument(['--foo'], { - help: ' foo help should not\n' + - ' retain this odd formatting' + help: `foo help should not\nretain this odd formatting`, }); formatterExample.addArgument(['spam'], { @@ -267,9 +263,7 @@ formatterExample.addArgument(['spam'], { const group = formatterExample.addArgumentGroup({ title: 'title', - description: ' This text\n' + - ' should be indented\n' + - ' exactly like it is here\n' + description: `This text\nshould be indented\nexactly like it is here\n`, }); group.addArgument(['--bar'], {