a06f7c9241
The rest of the code was used in a single place, so I've moved the code to the appropriate library. Change-Id: Idd0416bf7365e3de05f20ab1184428ae7ae614b2 Reviewed-on: https://dart-review.googlesource.com/54745 Commit-Queue: Sigmund Cherem <sigmund@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
17 lines
547 B
Dart
17 lines
547 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.
|
|
|
|
// Test of _computeThisScript().
|
|
|
|
import 'dart:_js_helper' show thisScript;
|
|
|
|
main() {
|
|
// This is somewhat brittle and relies on an implementation detail
|
|
// of our test runner, but I can think of no other way to test this.
|
|
// -- ahe
|
|
if (!thisScript.endsWith('/out.js')) {
|
|
throw 'Unexpected script: "$thiscript"';
|
|
}
|
|
}
|