OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library test.fletch_warnings_suite; | 5 library test.fletch_warnings_suite; |
6 | 6 |
7 import 'dart:io' as io; | 7 import 'dart:io' as io; |
8 | 8 |
9 import 'dart:convert' show | 9 import 'dart:convert' show |
10 UTF8; | 10 UTF8; |
11 | 11 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 129 |
130 var filteredStdout = | 130 var filteredStdout = |
131 UTF8.decode(stdout, allowMalformed: true).replaceAll(noLintFilter, ""); | 131 UTF8.decode(stdout, allowMalformed: true).replaceAll(noLintFilter, ""); |
132 if (filteredStdout.isNotEmpty) { | 132 if (filteredStdout.isNotEmpty) { |
133 return Expectation.STATIC_WARNING; | 133 return Expectation.STATIC_WARNING; |
134 } | 134 } |
135 | 135 |
136 return Expectation.PASS; | 136 return Expectation.PASS; |
137 } | 137 } |
138 } | 138 } |
OLD | NEW |