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

Unified Diff: tests/html/audioelement_test.dart

Issue 702673002: Improve handling of intentionally broken links in test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: tests/html/audioelement_test.dart
diff --git a/tests/html/audioelement_test.dart b/tests/html/audioelement_test.dart
index 28285962f8404875446df8c8e271f4374b114ce3..02c89359bb1ae9a9c78e2618888194978fa1b4fc 100644
--- a/tests/html/audioelement_test.dart
+++ b/tests/html/audioelement_test.dart
@@ -13,9 +13,9 @@ main() {
});
test('constructorTest2', () {
- var audio = new AudioElement('hahaURL');
+ var audio = new AudioElement('IntentionallyMissingFileURL');
expect(audio, isNotNull);
expect(audio is AudioElement, isTrue);
- expect(audio.src, contains('hahaURL'));
+ expect(audio.src, contains('IntentionallyMissingFileURL'));
});
}

Powered by Google App Engine
This is Rietveld 408576698