blob: fe6a2f2f08250bd8e2f7f6437ad41ad48d8d4426 [file] [log] [blame]
// Copyright (c) 2014, 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.
library experimental_boot.test.double_init_test;
import 'dart:async';
import 'dart:js' as js;
import 'package:polymer/polymer.dart';
import 'package:unittest/html_config.dart';
import 'package:unittest/unittest.dart';
@initMethod
init() {
useHtmlConfiguration();
test('can\'t call initPolymer when using polymer_experimental', () {
expect(() => initPolymer(), throwsA("Initialization was already done."));
});
}