From 90ece50bd0ec961e8cc509c8c2be54912f8f2615 Mon Sep 17 00:00:00 2001 From: Tien Do Nam Date: Fri, 16 Sep 2022 16:14:54 +0200 Subject: [PATCH] test: rename test names --- slang/test/unit/model/node_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slang/test/unit/model/node_test.dart b/slang/test/unit/model/node_test.dart index c579c0be..3569d7fc 100644 --- a/slang/test/unit/model/node_test.dart +++ b/slang/test/unit/model/node_test.dart @@ -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); @@ -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);