File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ using Test
13
13
@test FA. ft_init ()
14
14
end
15
15
16
- face = FA. findfont (" hack" )
16
+ face = FA. findfont (" hack" )[ 2 ]
17
17
18
18
@testset " basics" begin
19
19
@test :size in propertynames (face)
@@ -261,12 +261,12 @@ end
261
261
append! (FA. valid_fontpaths, valid_fontpaths)
262
262
for font in fonts
263
263
@testset " finding $font " begin
264
- @test findfont (font) != = nothing
264
+ @test findfont (font)[ 2 ] != = nothing
265
265
end
266
266
end
267
267
@testset " find in additional dir" begin
268
- @test findfont (" Hack" ) === nothing
269
- @test findfont (" Hack" , additional_fonts = @__DIR__ ) != = nothing
268
+ @test findfont (" Hack" )[ 2 ] === nothing
269
+ @test findfont (" Hack" , additional_fonts = @__DIR__ )[ 2 ] != = nothing
270
270
end
271
271
end
272
272
You can’t perform that action at this time.
0 commit comments