| Index: samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart
|
| diff --git a/samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart b/samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart
|
| index 0cc3bc23698c346626a3731a52e0c03d2e0ba286..d15635756279f8ab502999ab5a71784974f3f663 100644
|
| --- a/samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart
|
| +++ b/samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart
|
| @@ -37,7 +37,7 @@ void main() {
|
| for (int i = 0; i < num; i++) {
|
| for (int j = 0; j < nl; j++) {
|
| Node cur = nodes[j];
|
| - while (cur !== null) {
|
| + while (cur != null) {
|
| cur = cur.nodes.first;
|
| }
|
| ret = cur;
|
| @@ -51,7 +51,7 @@ void main() {
|
| for (int i = 0; i < num; i++) {
|
| for (int j = 0; j < nl; j++) {
|
| Node cur = nodes[j];
|
| - while (cur !== null) {
|
| + while (cur != null) {
|
| cur = cur.nodes.last;
|
| }
|
| ret = cur;
|
| @@ -61,7 +61,7 @@ void main() {
|
| .test('nextSibling', () {
|
| for (int i = 0; i < num * 2; i++) {
|
| Node cur = document.body.nodes.first;
|
| - while (cur !== null) {
|
| + while (cur != null) {
|
| cur = cur.nextNode;
|
| }
|
| ret = cur;
|
| @@ -70,7 +70,7 @@ void main() {
|
| .test('previousSibling', () {
|
| for (int i = 0; i < num * 2; i++) {
|
| Node cur = document.body.nodes.last;
|
| - while (cur !== null) {
|
| + while (cur != null) {
|
| cur = cur.previousNode;
|
| }
|
| ret = cur;
|
|
|