Skip to content

Commit a4dd4ac

Browse files
committed
style: wrap long lines to satisfy oxfmt (orientation rename tests)
1 parent 438bb7e commit a4dd4ac

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

src/cli/parser/__tests__/cli-help-command-usage.test.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,14 +375,20 @@ test('keyboard command usage is documented', async () => {
375375
test('orientation command usage is documented', async () => {
376376
const help = await usageForCommand('orientation');
377377
if (help === null) throw new Error('Expected command help text');
378-
assert.match(help, /orientation <portrait\|portrait-upside-down\|landscape-left\|landscape-right>/);
378+
assert.match(
379+
help,
380+
/orientation <portrait\|portrait-upside-down\|landscape-left\|landscape-right>/,
381+
);
379382
assert.match(help, /Set device orientation on iOS and Android/);
380383
});
381384

382385
test('deprecated rotate alias resolves to orientation usage', async () => {
383386
const help = await usageForCommand('rotate');
384387
if (help === null) throw new Error('Expected command help text');
385-
assert.match(help, /orientation <portrait\|portrait-upside-down\|landscape-left\|landscape-right>/);
388+
assert.match(
389+
help,
390+
/orientation <portrait\|portrait-upside-down\|landscape-left\|landscape-right>/,
391+
);
386392
});
387393

388394
test('settings usage documents canonical faceid states', async () => {

src/commands/system/index.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ describe('system command interface', () => {
126126
});
127127

128128
test('orientation reader and writer reject missing orientation', () => {
129-
expectInvalidArgs(() => orientationCliReader([], flags()), 'orientation requires an orientation');
129+
expectInvalidArgs(
130+
() => orientationCliReader([], flags()),
131+
'orientation requires an orientation',
132+
);
130133
expectInvalidArgs(() => orientationDaemonWriter({}), 'orientation requires orientation');
131134
});
132135

0 commit comments

Comments
 (0)