Skip to content

Commit 86ba30d

Browse files
authored
fixing indentation
1 parent 33059bc commit 86ba30d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/unit/type/p5.Font.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ suite('p5.Font', function () {
4141
});
4242

4343
test('fontBounds no NaN (multiline + CENTER)', async () => {
44-
const pFont = await myp5.loadFont(fontFile);
45-
myp5.textAlign(myp5.CENTER, myp5.CENTER);
46-
const b = pFont.fontBounds('Hello,\nWorld!', 50, 50, 24);
47-
expect(b.x).not.toBeNaN();
48-
expect(b.y).not.toBeNaN();
49-
expect(b.w).not.toBeNaN();
50-
expect(b.h).not.toBeNaN();
51-
});
44+
const pFont = await myp5.loadFont(fontFile);
45+
myp5.textAlign(myp5.CENTER, myp5.CENTER);
46+
const b = pFont.fontBounds('Hello,\nWorld!', 50, 50, 24);
47+
expect(b.x).not.toBeNaN();
48+
expect(b.y).not.toBeNaN();
49+
expect(b.w).not.toBeNaN();
50+
expect(b.h).not.toBeNaN();
51+
});
5252

5353
suite('textToPoints', () => {
5454
test('contains no NaNs', async () => {

0 commit comments

Comments
 (0)