Skip to content

Commit 37a2f16

Browse files
StefanKarpinskiKristofferC
authored andcommitted
Compat update for String rename (#42)
1 parent b283f53 commit 37a2f16

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/REQUIRE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
BaseTestNext
1+
BaseTestNext
2+
Compat

test/collect_bench_results.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
# pairwise_bench_results.txt => pairwise_bench_results.csv
55
#
66

7+
using Compat: String
78

89
function parse_results(lines, title1, title2)
910
# just a handy function, without a lot of error handling stuff
1011
# assuming everything is correct
1112

12-
records = Array((ASCIIString, Float64, Float64, Float64), 0)
13+
records = Array((String, Float64, Float64, Float64), 0)
1314

1415
state = 0
1516

@@ -51,7 +52,7 @@ function parse_results(lines, title1, title2)
5152
end
5253

5354

54-
function collect(title::ASCIIString, title1, title2)
55+
function collect(title::String, title1, title2)
5556
println("Processing $title ...")
5657
infile = string(title, ".txt")
5758
outfile = string(title, ".csv")

0 commit comments

Comments
 (0)