Files
sdk/tests/lib_2/html/geolocation_test.dart
T
Terry Lucas 0319fb1e87 Migrated Block 200 to Dart 2.0
R=bkonyi@google.com

Change-Id: I9d998f61c2bc3d4b9c6ea71cb1111c00983a80a5
Reviewed-on: https://dart-review.googlesource.com/11347
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2017-10-09 02:45:04 +00:00

16 lines
468 B
Dart

// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:html';
import 'package:expect/minitest.dart';
main() {
// Actual tests require browser interaction. This just makes sure the API
// is present.
test('is not null', () {
expect(window.navigator.geolocation, isNotNull);
});
}