Skip to content

Commit

Permalink
'only' keyword on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivojawer committed Mar 26, 2024
1 parent 9290a69 commit 816d1e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/printer/print.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ const formatParameter: Formatter<Parameter> = node => node.name

const formatTest: FormatterWithContext<Test> = context => node => {
return intersperse(WS, [
...node.isOnly ? [KEYWORDS.ONLY] : [],
KEYWORDS.TEST,
node.name,
body(context.nest)(formatSentences(context)(node.body.sentences)),
Expand Down

0 comments on commit 816d1e2

Please sign in to comment.