Skip to content

Commit 12d9048

Browse files
committed
Lint fixes
1 parent de00948 commit 12d9048

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

canonical_json/test/canonical_json_test.dart

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import 'dart:convert';
1616
import 'dart:math';
1717
import 'package:canonical_json/canonical_json.dart';
1818
import 'package:test/test.dart';
19-
import 'package:unorm_dart/unorm_dart.dart' show nfc;
2019

2120
void main() {
2221
void testValue(String name, Object value) => test(name, () {

chunked_stream/example/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void main() async {
4949
final lengthBytes = await iterator.read(4);
5050

5151
// We have EOF if there is no more bytes
52-
if (lengthBytes.length == 0) {
52+
if (lengthBytes.isEmpty) {
5353
break;
5454
}
5555

0 commit comments

Comments
 (0)