Add test for Uint8List with type alias

This commit is contained in:
Simon Binder 2021-09-11 15:56:34 +02:00
parent efcd9bfa83
commit f24346af08
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 5 additions and 1 deletions

View File

@ -97,16 +97,20 @@ class IntTable extends Table {
}
''',
'a|lib/blob.dart': '''
// @dart=2.13
import 'package:moor/moor.dart';
@UseRowClass(Cls)
class Tbl extends Table {
BlobColumn get foo => blob()();
BlobColumn get bar => blob()();
BlobColumn get baz => blob()();
}
typedef Bytes = Uint8List;
class Cls {
Cls(Uint8List foo, List<int> bar) {}
Cls(Uint8List foo, List<int> bar, Bytes baz) {}
}
''',
});