Skip to content

Commit 0131e8e

Browse files
nileshpatracharlievieth
authored andcommitted
Fixup tests on 32-bit
1 parent d47fde8 commit 0131e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastwalk_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ func TestSortModeString(t *testing.T) {
959959
{fastwalk.SortDirsFirst, "DirsFirst"},
960960
{fastwalk.SortFilesFirst, "FilesFirst"},
961961
{100, "SortMode(100)"},
962-
{math.MaxUint32, fmt.Sprintf("SortMode(%d)", math.MaxUint32)},
962+
{math.MaxUint32, fmt.Sprintf("SortMode(%d)", uint32(math.MaxUint32))},
963963
}
964964
for _, test := range tests {
965965
got := test.mode.String()

0 commit comments

Comments
 (0)