0b045aea2b
Deleted irrelevant tests and migrated valid tests to Dart 2 Change-Id: If37611e051b7e2f128c53267f606d480d7fe23a5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/121902 Commit-Queue: Ben Konyi <bkonyi@google.com> Reviewed-by: Siva Annamalai <asiva@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>
15 lines
400 B
Dart
15 lines
400 B
Dart
// Copyright (c) 2017, 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.
|
|
// VMOptions=--disable-exit
|
|
|
|
import "dart:io" as io;
|
|
|
|
import "package:expect/expect.dart";
|
|
|
|
void main() {
|
|
Expect.throws(() {
|
|
io.exit(-1);
|
|
}, (e) => (e is UnsupportedError));
|
|
}
|