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

Unified Diff: tests/lib_strong/html/audioelement_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months 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/lib_strong/html/audioelement_test.dart
diff --git a/tests/lib_strong/html/audioelement_test.dart b/tests/lib_strong/html/audioelement_test.dart
index 9f47b9fc8e4f7360213716943970615eff8293b7..53133b71f2b65c041826e70ad18a1803a83fa33c 100644
--- a/tests/lib_strong/html/audioelement_test.dart
+++ b/tests/lib_strong/html/audioelement_test.dart
@@ -4,22 +4,22 @@ import 'package:expect/minitest.dart';
main() {
test('constructorTest1', () {
- var audio = new AudioElement();
- expect(audio, isNotNull);
- expect(audio is AudioElement, isTrue);
- });
+ var audio = new AudioElement();
+ expect(audio, isNotNull);
+ expect(audio is AudioElement, isTrue);
+ });
test('constructorTest2', () {
- var audio = new AudioElement('IntentionallyMissingFileURL');
- expect(audio, isNotNull);
- expect(audio is AudioElement, isTrue);
- expect(audio.src.contains('IntentionallyMissingFileURL'), isTrue);
- });
+ var audio = new AudioElement('IntentionallyMissingFileURL');
+ expect(audio, isNotNull);
+ expect(audio is AudioElement, isTrue);
+ expect(audio.src.contains('IntentionallyMissingFileURL'), isTrue);
+ });
test('canPlayTypeTest', () {
- var audio = new AudioElement();
- var canPlay = audio.canPlayType("audio/mp4");
- expect(canPlay, isNotNull);
- expect(canPlay is String, isTrue);
- });
+ var audio = new AudioElement();
+ var canPlay = audio.canPlayType("audio/mp4");
+ expect(canPlay, isNotNull);
+ expect(canPlay is String, isTrue);
+ });
}

Powered by Google App Engine
This is Rietveld 408576698