blob: 8b267a93123f438e6299e1b5bc01300b208a53fd [file] [log] [blame]
// Copyright (c) 2015, 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 dartdoc.resource_loader_test;
import 'package:analyzer/file_system/physical_file_system.dart';
import 'package:dartdoc/src/generator/resource_loader.dart';
import 'package:test/test.dart';
void main() {
group('Resource Loader', () {
var resourceProvider = PhysicalResourceProvider();
test('load from packages', () async {
var contents = await resourceProvider
expect(contents, isNotNull);
test('throws if non-package', () async {