aboutsummaryrefslogtreecommitdiff
path: root/src/helpers-test.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-28 01:10:54 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-28 13:46:36 +0200
commit08bd3dc0e8a3c2370e4e8abbaa241eaafc144f4c (patch)
tree9a55a5734718e7c278ccb24733425184fb8cea34 /src/helpers-test.ts
parent7fff4499fd915bcea3fa93b1aa8b35f4fe7a6027 (diff)
downloadwallet-core-08bd3dc0e8a3c2370e4e8abbaa241eaafc144f4c.tar.xz
add linting rules and fix them
Diffstat (limited to 'src/helpers-test.ts')
-rw-r--r--src/helpers-test.ts19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/helpers-test.ts b/src/helpers-test.ts
index 4e9b994d6..8ce3c8e2d 100644
--- a/src/helpers-test.ts
+++ b/src/helpers-test.ts
@@ -1,8 +1,25 @@
+/*
+ This file is part of TALER
+ (C) 2017 Inria and GNUnet e.V.
+
+ TALER is free software; you can redistribute it and/or modify it under the
+ terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 3, or (at your option) any later version.
+
+ TALER is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along with
+ TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+ */
+
+
import {test} from "ava";
import * as helpers from "./helpers";
-test("URL canonicalization", t => {
+test("URL canonicalization", (t) => {
// converts to relative, adds https
t.is(
"https://alice.example.com/exchange/",