blob: 8519bc4e8f1b697c37f4a763c2c9c2e48d22e5d5 [file] [log] [blame]
// 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: "$thisScript"';
}
}