Skip to content

Commit

Permalink
Add some more test scenarios for printing
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jul 22, 2024
1 parent 10eae74 commit 9fd2e9c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/@glimmer/syntax/test/generation/print-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ let templates = [

// Comment in Angle Bracket component
'<Foo {{!-- This is a comment --}} attribute></Foo>',

// Short Comment
'{{! template-lint-disable rule-name }}',
'{{! template-lint-disable rule-name }}\n<div class="hello">there</div>',
// Long Comment
'{{!-- template-lint-disable rule-name --}}',
'{{!-- template-lint-disable rule-name --}}\n<div class="hello">there</div>',
];

QUnit.module('[glimmer-syntax] Code generation', () => {
Expand Down

0 comments on commit 9fd2e9c

Please sign in to comment.