Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698