Skip to content

Commit 2112257

Browse files
authored
Fix tall_format_test.dart on Windows. (#1502)
I can't test this locally, but I think this should fix it. Fix #1501.
1 parent cb16515 commit 2112257

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/utils.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ Future<void> testBenchmarks({required bool useTallStyle}) async {
176176
}
177177

178178
void _testFile(TestFile testFile, Iterable<StyleFix>? baseFixes) {
179-
var useTallStyle = testFile.path.startsWith('tall/');
179+
var useTallStyle =
180+
testFile.path.startsWith('tall/') || testFile.path.startsWith('tall\\');
180181

181182
group(testFile.path, () {
182183
for (var formatTest in testFile.tests) {

0 commit comments

Comments
 (0)