Repository: google/addlicense (language: python)

Issue:
An extra whitespace indentation for the Apache License template
The Apache License template indents the URL with 5 spaces:

https://github.com/google/addlicense/blob/53d978ad7e086016cadd4beb6f8a92d73fde9ad0/tmpl.go#L104-L111

where the letter `h` is under `a`:

```text
You may obtain a copy of the License at
     |
     http://www.apache.org/licenses/LICENSE-2.0
```

The generated license also indent with 5 spaces:

https://github.com/google/addlicense/blob/53d978ad7e086016cadd4beb6f8a92d73fde9ad0/tmpl.go#L1-L8

In the Apache official license template: <https://www.apache.org/licenses/LICENSE-2.0#apply>

```text
Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

The URL is indented by 4 spaces and the letter `h` is under `m`.

You can also find the [LICENSE](https://github.com/google/addlicense/blob/master/LICENSE) file is indent by 4 spaces (`h` under `m`):

https://github.com/google/addlicense/blob/53d978ad7e086016cadd4beb6f8a92d73fde9ad0/LICENSE#L190-L197


Discussion / hints:

Fix patch:
diff --git a/main.go b/main.go
index ba7d0ea..f80a74f 100644
--- a/main.go
+++ b/main.go
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/tmpl.go b/tmpl.go
index eed87cf..00cf2a8 100644
--- a/tmpl.go
+++ b/tmpl.go
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
@@ -107,7 +107,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 
-     http://www.apache.org/licenses/LICENSE-2.0
+    http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,


Test patch:
diff --git a/main_test.go b/main_test.go
index 78fff60..b2ed227 100644
--- a/main_test.go
+++ b/main_test.go
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/Gemfile b/testdata/expected/Gemfile
index 1a245c7..6975e59 100644
--- a/testdata/expected/Gemfile
+++ b/testdata/expected/Gemfile
@@ -4,7 +4,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#      http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.bzl b/testdata/expected/file.bzl
index 0961665..df3d19e 100644
--- a/testdata/expected/file.bzl
+++ b/testdata/expected/file.bzl
@@ -4,7 +4,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#      http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.c b/testdata/expected/file.c
index f5f0efd..6617a56 100644
--- a/testdata/expected/file.c
+++ b/testdata/expected/file.c
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.cc b/testdata/expected/file.cc
index 683ae6b..da72231 100644
--- a/testdata/expected/file.cc
+++ b/testdata/expected/file.cc
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.cjs b/testdata/expected/file.cjs
index 932f11d..9dad846 100644
--- a/testdata/expected/file.cjs
+++ b/testdata/expected/file.cjs
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.cpp b/testdata/expected/file.cpp
index 683ae6b..da72231 100644
--- a/testdata/expected/file.cpp
+++ b/testdata/expected/file.cpp
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.cs b/testdata/expected/file.cs
index b2700ef..414ab7a 100644
--- a/testdata/expected/file.cs
+++ b/testdata/expected/file.cs
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.css b/testdata/expected/file.css
index e0ecb5d..20bf5e3 100644
--- a/testdata/expected/file.css
+++ b/testdata/expected/file.css
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.dart b/testdata/expected/file.dart
index e72661d..db8d08c 100644
--- a/testdata/expected/file.dart
+++ b/testdata/expected/file.dart
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.el b/testdata/expected/file.el
index ab301b8..27712d2 100644
--- a/testdata/expected/file.el
+++ b/testdata/expected/file.el
@@ -4,7 +4,7 @@
 ;; you may not use this file except in compliance with the License.
 ;; You may obtain a copy of the License at
 ;;
-;;      http://www.apache.org/licenses/LICENSE-2.0
+;;     http://www.apache.org/licenses/LICENSE-2.0
 ;;
 ;; Unless required by applicable law or agreed to in writing, software
 ;; distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.erl b/testdata/expected/file.erl
index fdebbaa..fc7efdc 100644
--- a/testdata/expected/file.erl
+++ b/testdata/expected/file.erl
@@ -4,7 +4,7 @@
 % you may not use this file except in compliance with the License.
 % You may obtain a copy of the License at
 %
-%      http://www.apache.org/licenses/LICENSE-2.0
+%     http://www.apache.org/licenses/LICENSE-2.0
 %
 % Unless required by applicable law or agreed to in writing, software
 % distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.go b/testdata/expected/file.go
index 6a3666a..b371be6 100644
--- a/testdata/expected/file.go
+++ b/testdata/expected/file.go
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.groovy b/testdata/expected/file.groovy
index fc86d5b..a928aa1 100644
--- a/testdata/expected/file.groovy
+++ b/testdata/expected/file.groovy
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.gv b/testdata/expected/file.gv
index 2c754ab..9a47dbc 100644
--- a/testdata/expected/file.gv
+++ b/testdata/expected/file.gv
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.h b/testdata/expected/file.h
index eacb361..e912838 100644
--- a/testdata/expected/file.h
+++ b/testdata/expected/file.h
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.hcl b/testdata/expected/file.hcl
index aeeeab9..11aeaeb 100644
--- a/testdata/expected/file.hcl
+++ b/testdata/expected/file.hcl
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.hh b/testdata/expected/file.hh
index a2bcb35..74491fb 100644
--- a/testdata/expected/file.hh
+++ b/testdata/expected/file.hh
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.hpp b/testdata/expected/file.hpp
index a2bcb35..74491fb 100644
--- a/testdata/expected/file.hpp
+++ b/testdata/expected/file.hpp
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.hs b/testdata/expected/file.hs
index d2e1cb3..fc11cd5 100644
--- a/testdata/expected/file.hs
+++ b/testdata/expected/file.hs
@@ -4,7 +4,7 @@
 -- you may not use this file except in compliance with the License.
 -- You may obtain a copy of the License at
 --
---      http://www.apache.org/licenses/LICENSE-2.0
+--     http://www.apache.org/licenses/LICENSE-2.0
 --
 -- Unless required by applicable law or agreed to in writing, software
 -- distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.html b/testdata/expected/file.html
index 25d75e7..a8fa955 100644
--- a/testdata/expected/file.html
+++ b/testdata/expected/file.html
@@ -6,7 +6,7 @@
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
 
-      http://www.apache.org/licenses/LICENSE-2.0
+     http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.java b/testdata/expected/file.java
index 5bdca95..3d5de2d 100644
--- a/testdata/expected/file.java
+++ b/testdata/expected/file.java
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.js b/testdata/expected/file.js
index 51b84be..e518b2d 100644
--- a/testdata/expected/file.js
+++ b/testdata/expected/file.js
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.lisp b/testdata/expected/file.lisp
index 71c3e53..2d2e8e2 100644
--- a/testdata/expected/file.lisp
+++ b/testdata/expected/file.lisp
@@ -4,7 +4,7 @@
 ;; you may not use this file except in compliance with the License.
 ;; You may obtain a copy of the License at
 ;;
-;;      http://www.apache.org/licenses/LICENSE-2.0
+;;     http://www.apache.org/licenses/LICENSE-2.0
 ;;
 ;; Unless required by applicable law or agreed to in writing, software
 ;; distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.m b/testdata/expected/file.m
index 9646b5c..fa3fa95 100644
--- a/testdata/expected/file.m
+++ b/testdata/expected/file.m
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.mjs b/testdata/expected/file.mjs
index f2062fd..703ad48 100644
--- a/testdata/expected/file.mjs
+++ b/testdata/expected/file.mjs
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.mm b/testdata/expected/file.mm
index 9646b5c..fa3fa95 100644
--- a/testdata/expected/file.mm
+++ b/testdata/expected/file.mm
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.php b/testdata/expected/file.php
index f3b1b2b..72d2848 100644
--- a/testdata/expected/file.php
+++ b/testdata/expected/file.php
@@ -5,7 +5,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.proto b/testdata/expected/file.proto
index 3a68151..386c1ba 100644
--- a/testdata/expected/file.proto
+++ b/testdata/expected/file.proto
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.py b/testdata/expected/file.py
index 2413205..a53f3e2 100644
--- a/testdata/expected/file.py
+++ b/testdata/expected/file.py
@@ -4,7 +4,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#      http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.rb b/testdata/expected/file.rb
index 3f758cf..230d3e7 100644
--- a/testdata/expected/file.rb
+++ b/testdata/expected/file.rb
@@ -5,7 +5,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#      http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.rs b/testdata/expected/file.rs
index 38d5757..309f681 100644
--- a/testdata/expected/file.rs
+++ b/testdata/expected/file.rs
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.sass b/testdata/expected/file.sass
index afd6d49..ba50280 100644
--- a/testdata/expected/file.sass
+++ b/testdata/expected/file.sass
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.scala b/testdata/expected/file.scala
index a21b2b3..1ef0363 100644
--- a/testdata/expected/file.scala
+++ b/testdata/expected/file.scala
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.scss b/testdata/expected/file.scss
index 4ee4f09..bb56818 100644
--- a/testdata/expected/file.scss
+++ b/testdata/expected/file.scss
@@ -5,7 +5,7 @@
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.sdl b/testdata/expected/file.sdl
index 2d84c9c..0794c33 100644
--- a/testdata/expected/file.sdl
+++ b/testdata/expected/file.sdl
@@ -4,7 +4,7 @@
 -- you may not use this file except in compliance with the License.
 -- You may obtain a copy of the License at
 --
---      http://www.apache.org/licenses/LICENSE-2.0
+--     http://www.apache.org/licenses/LICENSE-2.0
 --
 -- Unless required by applicable law or agreed to in writing, software
 -- distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.swift b/testdata/expected/file.swift
index 0b58df8..a58e541 100644
--- a/testdata/expected/file.swift
+++ b/testdata/expected/file.swift
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.tf b/testdata/expected/file.tf
index 4b3aa22..06788c5 100644
--- a/testdata/expected/file.tf
+++ b/testdata/expected/file.tf
@@ -4,7 +4,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#      http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file.xml b/testdata/expected/file.xml
index 4cbe42e..6d60f38 100644
--- a/testdata/expected/file.xml
+++ b/testdata/expected/file.xml
@@ -5,7 +5,7 @@
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
 
-      http://www.apache.org/licenses/LICENSE-2.0
+     http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file1.Dockerfile b/testdata/expected/file1.Dockerfile
index a23d19e..bdcb6e2 100644
--- a/testdata/expected/file1.Dockerfile
+++ b/testdata/expected/file1.Dockerfile
@@ -4,7 +4,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#      http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file1.sh b/testdata/expected/file1.sh
index 5ba7d9b..8d682db 100644
--- a/testdata/expected/file1.sh
+++ b/testdata/expected/file1.sh
@@ -5,7 +5,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#      http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file2.Dockerfile b/testdata/expected/file2.Dockerfile
index 4ace5da..b626f22 100644
--- a/testdata/expected/file2.Dockerfile
+++ b/testdata/expected/file2.Dockerfile
@@ -5,7 +5,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#      http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file2.sh b/testdata/expected/file2.sh
index fe86eda..3662fd6 100644
--- a/testdata/expected/file2.sh
+++ b/testdata/expected/file2.sh
@@ -5,7 +5,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#      http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file2.xml b/testdata/expected/file2.xml
index 9b18c0c..8dbdbc9 100644
--- a/testdata/expected/file2.xml
+++ b/testdata/expected/file2.xml
@@ -6,7 +6,7 @@
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
 
-      http://www.apache.org/licenses/LICENSE-2.0
+     http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/testdata/expected/file3.Dockerfile b/testdata/expected/file3.Dockerfile
index 3df599b..dc32f8d 100644
--- a/testdata/expected/file3.Dockerfile
+++ b/testdata/expected/file3.Dockerfile
@@ -5,7 +5,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#      http://www.apache.org/licenses/LICENSE-2.0
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/tmpl_test.go b/tmpl_test.go
index 509c741..6dce1e3 100644
--- a/tmpl_test.go
+++ b/tmpl_test.go
@@ -4,7 +4,7 @@
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//      http://www.apache.org/licenses/LICENSE-2.0
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
@@ -197,7 +197,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 
-     http://www.apache.org/licenses/LICENSE-2.0
+    http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,