Skip to content

Commit

Permalink
test: add replaceBracesInterpolation test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Oct 1, 2024
1 parent 3fb77d9 commit a41a39a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ void main() {
final input = 'Hello \\{ World {arg}!';
expect(input.braces(), 'Hello { World X!');
});

test('ignore @:', () {
final input = 'Hello @:{arg}!';
expect(input.braces(), 'Hello @:{arg}!');
});
});

group('double braces', () {
Expand Down

0 comments on commit a41a39a

Please sign in to comment.