mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -04:00
test(dart): add test cases for open issues
This commit is contained in:
parent
e68b81e7fd
commit
e9de9cedf0
4 changed files with 36 additions and 2 deletions
13
tests/indent/dart/class_function_argument.dart
Normal file
13
tests/indent/dart/class_function_argument.dart
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
class Something {
|
||||
final int number;
|
||||
final Function(int) write;
|
||||
|
||||
Something(this.number, this.write);
|
||||
}
|
||||
|
||||
void test() {
|
||||
Something(
|
||||
1,
|
||||
(int number) {
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue