blob: 6c59bc2e40506844cc74314b6261b9037eac04c1 [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 linter.test.util.solo_test;
import 'dart:io';
import 'package:path/path.dart' as p;
import '../rule_test.dart';
/// Solo test runner. Handy for debugging.
main([args]) {
var ruleName = args[0];
var dir = new Directory(ruleDir).absolute;
testRule(ruleName, new File(p.join(dir.path, '$ruleName.dart')), debug: true);
}