tpl/internal/go_templates: Revert formatting

Should make future fork synch easier.
This commit is contained in:
Bjørn Erik Pedersen
2020-12-03 13:47:43 +01:00
parent d90e37e0c6
commit 718e09ed4b
21 changed files with 173 additions and 322 deletions

View File

@@ -13,6 +13,7 @@ package testenv
import (
"errors"
"flag"
"github.com/gohugoio/hugo/tpl/internal/go_templates/cfg"
"os"
"os/exec"
"path/filepath"
@@ -21,8 +22,6 @@ import (
"strings"
"sync"
"testing"
"github.com/gohugoio/hugo/tpl/internal/go_templates/cfg"
)
// Builder reports the name of the builder running this test

View File

@@ -12,10 +12,8 @@ import (
"syscall"
)
var (
symlinkOnce sync.Once
winSymlinkErr error
)
var symlinkOnce sync.Once
var winSymlinkErr error
func initWinHasSymlink() {
tmpdir, err := ioutil.TempDir("", "symtest")