| Index: test_sources/non_transformed/web/generated_code_test.dart
|
| diff --git a/test_sources/non_transformed/web/generated_code_test.dart b/test_sources/non_transformed/web/generated_code_test.dart
|
| index 59da35104c80a1906fdf09b6fc0b8cf8838418a6..6786953b7fd4e4d48ecfe854bef514bb0db6e997 100644
|
| --- a/test_sources/non_transformed/web/generated_code_test.dart
|
| +++ b/test_sources/non_transformed/web/generated_code_test.dart
|
| @@ -116,6 +116,30 @@ main() {
|
| expect(foo.bar, bar);
|
| });
|
|
|
| + test('should return Lists', () {
|
| + var library2 = new l2.Library2();
|
| + var l = library2.createList('1', 'b', 'z');
|
| + expect(l, ['1', 'b', 'z']);
|
| + });
|
| +
|
| + test('should accept Lists', () {
|
| + var library2 = new l2.Library2();
|
| + var s = library2.joinList(['1', 'b', 'z']);
|
| + expect(s, '1, b, z');
|
| + });
|
| +
|
| + test('should return Maps', () {
|
| + var library2 = new l2.Library2();
|
| + var l = library2.createMap('a', 1, 'z', 26);
|
| + expect(l, {'a': 1, 'z': 26});
|
| + });
|
| +
|
| + test('should accept Maps', () {
|
| + var library2 = new l2.Library2();
|
| + var s = library2.joinMap({'a': 1, 'z': 26});
|
| + expect(s, 'a: 1, z: 26');
|
| + });
|
| +
|
| test('should accept exported object as arguments', () {
|
| var foo = new t.JsFoo('red');
|
| var bar = new t.ExportMe.named('blue');
|
|
|