Skip to content

Commit cd0d42b

Browse files
committed
Fix _addcommas test for 32-bit
1 parent e4ce93a commit cd0d42b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/runtests.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ end
120120
end
121121

122122
@testset "_addcommas" begin
123-
@test LinuxPerf._addcommas(1) == "1"
124-
@test LinuxPerf._addcommas(12) == "12"
125-
@test LinuxPerf._addcommas(123) == "123"
126-
@test LinuxPerf._addcommas(1234) == "1,234"
127-
@test LinuxPerf._addcommas(12345) == "12,345"
123+
@test LinuxPerf._addcommas(Int64(1)) == "1"
124+
@test LinuxPerf._addcommas(Int64(12)) == "12"
125+
@test LinuxPerf._addcommas(Int64(123)) == "123"
126+
@test LinuxPerf._addcommas(Int64(1234)) == "1,234"
127+
@test LinuxPerf._addcommas(Int64(12345)) == "12,345"
128128
@test LinuxPerf._addcommas(typemin(Int64)) == "-9,223,372,036,854,775,808"
129129
end
130130

0 commit comments

Comments
 (0)