blob: 0d6b90f82e3c897f08e59f09d08376043ad673c8 [file] [log] [blame]
// @dart = 2.9
import 'dart:html';
import 'package:expect/minitest.dart';
dynamic _undefined = (() => new List(5)[0])();
main() {
test('valueSetNull', () {
final e = new TextInputElement();
e.value = null;
expect(e.value, '');
});
test('valueSetNullProxy', () {
final e = new TextInputElement();
e.value = _undefined;
expect(e.value, '');
});
}