Merge pull request #1028 from vkd/fix-code-format

Fix code format (goimports)
This commit is contained in:
Robert Liebowitz
2019-12-30 11:14:15 -05:00
committed by GitHub

View File

@@ -1706,7 +1706,7 @@ func TestTimestamp_set(t *testing.T) {
}
func TestTimestampFlagApply(t *testing.T) {
expectedResult, _ := time.Parse(time.RFC3339, "2006-01-02T15:04:05Z")
expectedResult, _ := time.Parse(time.RFC3339, "2006-01-02T15:04:05Z")
fl := TimestampFlag{Name: "time", Aliases: []string{"t"}, Layout: time.RFC3339}
set := flag.NewFlagSet("test", 0)
_ = fl.Apply(set)