Skip to content

Commit f3dc3fa

Browse files
committed
test(spec): keep the blank-string row name short enough to print whole
vitest prints a table row's `$name` truncated past about forty characters, so the rewritten row now states its decision in a name that prints whole. Claude-Session: https://claude.ai/code/session_01T9u38rswFp5Rw8DswRUReJ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 83d1eb3 commit f3dc3fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/spec/src/automation/flow-decision-branch-expression-absent.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const TABLE: Array<{ name: string; branch: Node; refused: boolean; refusedWith?:
6363
{ name: 'no `expression` key', branch: { label: 'y' }, refused: true, refusedWith: undefined },
6464
{ name: '`expression: null`', branch: { label: 'y', expression: null }, refused: true, refusedWith: null },
6565
{ name: 'the predicate under the edge\'s spelling `condition`', branch: { label: 'y', condition: 'true' }, refused: true, refusedWith: undefined },
66-
{ name: 'a blank string — the control: a blank predicate is already refused', branch: { label: 'y', expression: ' ' }, refused: true, refusedWith: ' ' },
66+
{ name: 'a blank string — blanks are refused', branch: { label: 'y', expression: ' ' }, refused: true, refusedWith: ' ' },
6767
{ name: 'a real predicate — the accept control', branch: { label: 'y', expression: 'true' }, refused: false },
6868
];
6969

0 commit comments

Comments
 (0)