Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfx committed Nov 8, 2021
1 parent a89e5c7 commit 98ac078
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions fileseq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,15 +565,15 @@ func TestPaddingChars(t *testing.T) {
}{
{
padders[PadStyleHash1], []TestVals{
{-1, "#"}, {0, "#"}, {1, "#"}, {2, "##"}, {3, "###"},
{1, "#"}, {5, "#####"}, {2, "##"}, {3, "###"},
},
{-1, "#"}, {0, "#"}, {1, "#"}, {2, "##"}, {3, "###"},
{1, "#"}, {5, "#####"}, {2, "##"}, {3, "###"},
},
},
{
padders[PadStyleHash4], []TestVals{
{-1, "@"}, {0, "@"}, {1, "@"}, {2, "@@"}, {3, "@@@"},
{4, "#"}, {5, "@@@@@"}, {8, "##"}, {12, "###"},
},
{-1, "@"}, {0, "@"}, {1, "@"}, {2, "@@"}, {3, "@@@"},
{4, "#"}, {5, "@@@@@"}, {8, "##"}, {12, "###"},
},
},
}

Expand All @@ -599,38 +599,38 @@ func TestPaddingCharsSize(t *testing.T) {
}{
{
padders[PadStyleHash1], []TestVals{
{"", 0},
{"#", 1},
{"##", 2},
{"###", 3},
{"####", 4},
{"@", 1},
{"@@", 2},
{"@@@", 3},
{"@@@@", 4},
{"%02d", 2},
{"%04d", 4},
{"$F", 1},
{"$F2", 2},
{"$F04", 4},
},
{"", 0},
{"#", 1},
{"##", 2},
{"###", 3},
{"####", 4},
{"@", 1},
{"@@", 2},
{"@@@", 3},
{"@@@@", 4},
{"%02d", 2},
{"%04d", 4},
{"$F", 1},
{"$F2", 2},
{"$F04", 4},
},
},
{
padders[PadStyleHash4], []TestVals{
{"", 0},
{"#", 4},
{"##", 8},
{"###", 12},
{"####", 16},
{"@", 1},
{"@@", 2},
{"@@@", 3},
{"@@@@", 4},
{"%02d", 2},
{"%04d", 4},
{"$F2", 2},
{"$F04", 4},
},
{"", 0},
{"#", 4},
{"##", 8},
{"###", 12},
{"####", 16},
{"@", 1},
{"@@", 2},
{"@@@", 3},
{"@@@@", 4},
{"%02d", 2},
{"%04d", 4},
{"$F2", 2},
{"$F04", 4},
},
},
}

Expand Down

0 comments on commit 98ac078

Please sign in to comment.