Fix a couple of analyzer warnings
* Unused import in editable_text.dart * Type mismatch in append_child_test.dart
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:async';
|
||||
import 'dart:sky' as sky;
|
||||
|
||||
import 'package:mojo_services/keyboard/keyboard.mojom.dart';
|
||||
import 'package:sky/painting.dart';
|
||||
|
||||
@@ -16,7 +16,7 @@ void main() {
|
||||
parent.appendChild(null);
|
||||
}, throws);
|
||||
expect(() {
|
||||
parent.appendChild({"tagName": "div"});
|
||||
Function.apply(parent.appendChild, [{"tagName": "div"}]);
|
||||
}, throws);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user