This commit is contained in:
Valentin Tjoncke 2016-12-08 13:15:51 +01:00
parent 7fbe0bde7b
commit 45bfd072b4
2 changed files with 4 additions and 4 deletions

View file

@ -19,10 +19,10 @@ import (
"io"
"os"
"path/filepath"
"regexp"
"strings"
"text/template"
"time"
"regexp"
"github.com/spf13/viper"
)

View file

@ -146,7 +146,7 @@ func TestInitHelpFlagMergesFlags(t *testing.T) {
cmd.initHelpFlag()
actual := cmd.Flags().Lookup("help").Usage
if actual != usage {
t.Fatalf("Expected the help flag from the base command with usage '%s', " +
t.Fatalf("Expected the help flag from the base command with usage '%s', "+
"but got the default with usage '%s'", usage, actual)
}
}