Skip to content

Commit cc547a3

Browse files
committed
Fix
1 parent 329ce5a commit cc547a3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/15_extras.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -337,27 +337,27 @@ end
337337
@test_throws ArgumentError("NaN values are not allowed in breaks") cut([1, 2], [1, NaN])
338338

339339
x = cut([1, Inf], [1], extend=true)
340-
@test x ["[1.0, Inf]", "[1.0, Inf]"]
340+
@test x ["[1.0, Inf]", "[1.0, Inf]"]
341341
@test levels(x) == ["[1.0, Inf]"]
342342

343343
x = cut([1, -Inf], [1], extend=true)
344-
@test x ["[-Inf, 1.0]", "[-Inf, 1.0]"]
344+
@test x ["[-Inf, 1.0]", "[-Inf, 1.0]"]
345345
@test levels(x) == ["[-Inf, 1.0]"]
346346

347347
x = cut([1:5; Inf], [1, 2, Inf])
348-
@test x ["[1.0, 2.0)"; fill("[2.0, Inf]", 5)]
348+
@test x ["[1.0, 2.0)"; fill("[2.0, Inf]", 5)]
349349
@test levels(x) == ["[1.0, 2.0)", "[2.0, Inf]"]
350350

351351
x = cut([1:5; -Inf], [-Inf, 2, 5])
352-
@test x ["[-Inf, 2.0)"; fill("[2.0, 5.0]", 4); "[-Inf, 2.0)"]
352+
@test x ["[-Inf, 2.0)"; fill("[2.0, 5.0]", 4); "[-Inf, 2.0)"]
353353
@test levels(x) == ["[-Inf, 2.0)", "[2.0, 5.0]"]
354354

355355
x = cut([1:5; Inf], 2)
356-
@test x [fill("Q1: [1.0, 3.5)", 3); fill("Q2: [3.5, Inf]", 3)]
356+
@test x [fill("Q1: [1.0, 3.5)", 3); fill("Q2: [3.5, Inf]", 3)]
357357
@test levels(x) == ["Q1: [1.0, 3.5)", "Q2: [3.5, Inf]"]
358358

359359
x = cut([1:5; -Inf], 2)
360-
@test x [fill("Q1: [-Inf, 2.5)", 2); fill("Q2: [2.5, 5.0]", 3); "Q1: [-Inf, 2.5)"]
360+
@test x [fill("Q1: [-Inf, 2.5)", 2); fill("Q2: [2.5, 5.0]", 3); "Q1: [-Inf, 2.5)"]
361361
@test levels(x) == ["Q1: [-Inf, 2.5)", "Q2: [2.5, 5.0]"]
362362
end
363363

0 commit comments

Comments
 (0)