@@ -8,7 +8,7 @@ void main() {
88 final environment = < String , String > {
99 'COMP_LINE' : 'example_cli some_command --discrete foo' ,
1010 'COMP_POINT' : '39' ,
11- 'COMP_CWORD' : '3'
11+ 'COMP_CWORD' : '3' ,
1212 };
1313 final state = CompletionState .fromEnvironment (environment);
1414 expect (state, isNotNull);
@@ -26,7 +26,7 @@ void main() {
2626 final environment = < String , String > {
2727 'COMP_LINE' : 'example_cli some_command --discrete foo' ,
2828 'COMP_POINT' : '39' ,
29- 'COMP_CWORD' : '3'
29+ 'COMP_CWORD' : '3' ,
3030 };
3131 final state = CompletionState .fromEnvironment (environment);
3232 final state2 = CompletionState .fromEnvironment (environment);
@@ -47,7 +47,7 @@ void main() {
4747
4848 test ('returns null when only COMP_LINE is set' , () {
4949 final environment = < String , String > {
50- 'COMP_LINE' : 'example_cli some_command --discrete foo'
50+ 'COMP_LINE' : 'example_cli some_command --discrete foo' ,
5151 };
5252 expect (
5353 CompletionState .fromEnvironment (environment),
@@ -86,7 +86,7 @@ void main() {
8686 final environment = < String , String > {
8787 'COMP_LINE' : 'example_cli some_command --discrete foo' ,
8888 'COMP_POINT' : '0' ,
89- 'COMP_CWORD' : '0'
89+ 'COMP_CWORD' : '0' ,
9090 };
9191 expect (
9292 CompletionState .fromEnvironment (environment),
@@ -98,7 +98,7 @@ void main() {
9898 final environment = < String , String > {
9999 'COMP_LINE' : 'example_cli some_command -- --discrete foo' ,
100100 'COMP_POINT' : '42' ,
101- 'COMP_CWORD' : '4'
101+ 'COMP_CWORD' : '4' ,
102102 };
103103 expect (
104104 CompletionState .fromEnvironment (environment),
0 commit comments