mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
[tests] Delete inert tests from multi-test migration
These tests were created by a script during a mass migration away from multi-tests. The useful parts of the multi-tests still exist in: - https://github.com/dart-lang/sdk/blob/main/tests/language/deferred/super_dependency_test.dart - https://github.com/dart-lang/sdk/blob/main/tests/language/is/not_class2_test.dart Tests Before migration: -07b9df22ac/tests/language_2/deferred_super_dependency_test.dart
-192579020c/tests/language_2/is_not_class2_test.dart
Change-Id: I41b25d8ecbed340ea85f5fd16ff1412de275d002 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/343686 Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Nate Bosch <nbosch@google.com>
This commit is contained in:
parent
5f34ac9fa0
commit
e95b3ed417
|
@ -1,18 +0,0 @@
|
|||
// TODO(multitest): This was automatically migrated from a multitest and may
|
||||
// contain strange or dead code.
|
||||
|
||||
// Copyright (c) 2015, 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.
|
||||
|
||||
// Regression test.
|
||||
// lib.C.foo has code that references `super.foo=` that does not exist. This
|
||||
// used to cause a crash.
|
||||
|
||||
import "package:expect/expect.dart";
|
||||
|
||||
|
||||
main() async {
|
||||
|
||||
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
// TODO(multitest): This was automatically migrated from a multitest and may
|
||||
// contain strange or dead code.
|
||||
|
||||
// Copyright (c) 2011, 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.
|
||||
|
||||
// Dart test program for catch that we expect a class after an 'is'. 'aa' is a
|
||||
// malformed type and a type error should be thrown upon test.
|
||||
|
||||
import 'package:expect/expect.dart';
|
||||
|
||||
class A {
|
||||
const A();
|
||||
}
|
||||
|
||||
class IsNotClass2NegativeTest {
|
||||
static testMain() {
|
||||
var a = new A();
|
||||
var aa = new A();
|
||||
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
main() {
|
||||
IsNotClass2NegativeTest.testMain();
|
||||
}
|
Loading…
Reference in a new issue