Skip to content

Commit 5f4a8f9

Browse files
committed
Issue #92: added new test case
1 parent 479c053 commit 5f4a8f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lint_test/dont_create_a_return_var_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ int returnVarTestReturnMutable() {
1515
return a;
1616
}
1717

18+
int returnVarTestReturnParameter(int param) {
19+
return param;
20+
}
21+
1822
/// Test the dont_create_a_return_var.
1923
/// Caching mutable variable value.
2024
/// Unpredictable: may be useful to cache value

0 commit comments

Comments
 (0)