Merge pull request #1028 from vkd/fix-code-format
Fix code format (goimports)
This commit is contained in:
commit
31587d847f
@ -1706,7 +1706,7 @@ func TestTimestamp_set(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestTimestampFlagApply(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}
|
fl := TimestampFlag{Name: "time", Aliases: []string{"t"}, Layout: time.RFC3339}
|
||||||
set := flag.NewFlagSet("test", 0)
|
set := flag.NewFlagSet("test", 0)
|
||||||
_ = fl.Apply(set)
|
_ = fl.Apply(set)
|
||||||
|
Loading…
Reference in New Issue
Block a user