Some cleanup of the Sky analyzer script

* If no source path is provided, then run the analyzer on the Sky unit tests
* Fix the filter for errors found in pub cache packages
* Generalize the filter for the analyzer's "xx errors/warnings/hints found" status message

Also fix a test that caused a warning in the analyzer.
This commit is contained in:
Jason Simmons
2015-09-21 10:49:19 -07:00
parent 6a88ec6d71
commit 64f75399ef
2 changed files with 1 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
analyzer:
exclude:
- 'test/engine/append_child_test.dart'

View File

@@ -10,7 +10,7 @@ void main() {
test("should throw with invalid arguments", () {
var parent = document.createElement("div");
expect(() {
parent.appendChild();
Function.apply(parent.appendChild, []);
}, throws);
expect(() {
parent.appendChild(null);