mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:31:20 +00:00
d99229026e
Fix tests to conform to spec bahavior. Update dart2js test status. BUG=#27572 R=rmacnak@google.com Review URL: https://codereview.chromium.org/2416513003 .
18 lines
449 B
Dart
18 lines
449 B
Dart
// Copyright (c) 2016, 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.
|
|
|
|
// Test static noSuchMethod with a prefix.
|
|
|
|
import "package:expect/expect.dart";
|
|
|
|
import 'dart:collection' as col;
|
|
|
|
main() {
|
|
try {
|
|
col.foobar(1234567);
|
|
} catch(e) {
|
|
Expect.isTrue(e.toString().contains("1234567"));
|
|
}
|
|
}
|