Skip to content

Commit 726a4b9

Browse files
committed
Update test font file path
1 parent 5c5184a commit 726a4b9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/unit/visual/cases/typography.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ visualSuite('Typography', function () {
4646
visualTest('with a font file and special chars', async function (p5, screenshot) {
4747
p5.createCanvas(100, 100, p5.WEBGL);
4848
const font = await p5.loadFont(
49-
'/unit/assets/Inconsolata-Bold.ttf',
49+
'test/unit/assets/Inconsolata-Bold.ttf',
5050
'Incönsolata'
5151
);
5252
p5.textFont(font);

test/unit/visual/cases/webgl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ visualSuite('WebGL', function() {
794794
visualTest('text renders correctly after geometry with many indices', async (p5, screenshot) => {
795795
p5.createCanvas(100, 100, p5.WEBGL);
796796
const font = await p5.loadFont(
797-
'/unit/assets/Inconsolata-Bold.ttf'
797+
'test/unit/assets/Inconsolata-Bold.ttf'
798798
);
799799

800800
p5.background(255);

0 commit comments

Comments
 (0)