mirror of
https://github.com/dart-lang/sdk
synced 2024-09-21 11:47:37 +00:00
19 lines
455 B
Dart
19 lines
455 B
Dart
// Copyright (c) 2014, 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:developer';
|
|
import 'package:expect/expect.dart';
|
|
|
|
testGaugeDouble() {
|
|
Expect.throws(() {
|
|
// max argument is not a double
|
|
gauge = new Gauge('test', 'alpha bravo', 1.0, 4);
|
|
});
|
|
}
|
|
|
|
main() {
|
|
testGaugeDouble();
|
|
}
|