5b60e5841d
Minor changes to a few tests, no major refactors. Bug: Change-Id: I66c00b6465597a3534071f8d70c4718f209d5e6e Reviewed-on: https://dart-review.googlesource.com/3787 Commit-Queue: Ben Konyi <bkonyi@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> Reviewed-by: Erik Ernst <eernst@google.com>
17 lines
508 B
Dart
17 lines
508 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:mirrors' show MirrorSystem;
|
|
|
|
expect(expected, actual) {
|
|
if (expected != actual) {
|
|
throw 'Expected: "$expected", but got "$actual"';
|
|
}
|
|
}
|
|
|
|
main() {
|
|
expect('fisk', MirrorSystem.getName(const Symbol('fisk')));
|
|
expect('fisk', MirrorSystem.getName(new Symbol('fisk')));
|
|
}
|