Skip to content

Commit 67a1a18

Browse files
committed
fix tests
1 parent 7053e0b commit 67a1a18

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ myarray = zeros(UInt8,100,100)
2121
renderstring!(myarray, "hello", face, (10,10), 90, 10, halign=:hright)
2222
```
2323

24-
credits to @aaalexandrov from whom most of the code stems.
24+
credits to @aaalexandrov from whom most of the early code comes.

test/runtests.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ a = renderstring!(
5151
50,
5252
valign = :vcenter,
5353
)
54-
5554
@test all(a[vcat(1:5, 16:end), :] .== 0)
5655
@test any(a[6:15, :] .!= 0)
5756
a = renderstring!(
@@ -74,8 +73,7 @@ a = renderstring!(
7473
50,
7574
valign = :vbottom,
7675
)
77-
78-
@test any(a[1
76+
@test any(a[1:10, :] .!= 0)
7977
@test all(a[11:20, :] .== 0)
8078
a = renderstring!(
8179
zeros(UInt8, 20, 100),

0 commit comments

Comments
 (0)