Skip to content

Commit ea21b87

Browse files
author
shaark
committed
issue-93. chage test
1 parent fef0045 commit ea21b87

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

lint_test/consider_making_a_member_private_test.dart renamed to lint_test/consider_making_a_member_private_test/consider_making_a_member_private_test_inner.dart

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,3 @@ class X {
5252
// no lint
5353
factory X.usedFactory() => X();
5454
}
55-
56-
class Y {
57-
// no lint
58-
void _y() {
59-
final x = X();
60-
X.usedFactory();
61-
x.usedMethodX();
62-
usedGLobalFunction();
63-
usedGlobalVariables;
64-
}
65-
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// ignore_for_file: no_empty_block, prefer_match_file_name, unused_element, member_ordering, avoid_global_state, avoid_unused_parameters
2+
import 'consider_making_a_member_private_test_inner.dart';
3+
4+
/// Check the `consider_making_a_member_private` rule
5+
///
6+
7+
class Y {
8+
// no lint
9+
void _y() {
10+
final x = X();
11+
X.usedFactory();
12+
x.usedMethodX();
13+
usedGLobalFunction();
14+
usedGlobalVariables;
15+
}
16+
}

0 commit comments

Comments
 (0)