Skip to content

Commit

Permalink
test: rename test names
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Sep 16, 2022
1 parent b08b560 commit 90ece50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slang/test/unit/model/node_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ void main() {
expect(node.params, {'yey'});
});

test('one argument with default text and param case', () {
test('two arguments with default text and param case', () {
final test = r'Hello {{myFirstSpan}}{{mySpan(Default Text)}}!';
final node = richTextNode(
test, StringInterpolation.doubleBraces, CaseStyle.snake);
Expand All @@ -395,7 +395,7 @@ void main() {
expect(node.params, {'my_first_span', 'my_span'});
});

test('one argument with default text', () {
test('one argument with default text having special chars', () {
final test = r'Hello {{yey(my -Text!>)}}!';
final node = richTextNode(test, StringInterpolation.doubleBraces);
expect(node.spans.length, 3);
Expand Down

0 comments on commit 90ece50

Please sign in to comment.