OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library test.services.completion.statement; | |
6 | |
7 import 'package:analysis_server/src/protocol_server.dart'; | 5 import 'package:analysis_server/src/protocol_server.dart'; |
8 import 'package:analysis_server/src/services/completion/statement/statement_comp
letion.dart'; | 6 import 'package:analysis_server/src/services/completion/statement/statement_comp
letion.dart'; |
9 import 'package:analyzer/src/dart/analysis/driver.dart'; | 7 import 'package:analyzer/src/dart/analysis/driver.dart'; |
10 import 'package:test/test.dart'; | 8 import 'package:test/test.dart'; |
11 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 9 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
12 | 10 |
13 import '../../../abstract_single_unit.dart'; | 11 import '../../../abstract_single_unit.dart'; |
14 | 12 |
15 main() { | 13 main() { |
16 defineReflectiveSuite(() { | 14 defineReflectiveSuite(() { |
(...skipping 1890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1907 ''' | 1905 ''' |
1908 main() { | 1906 main() { |
1909 while () { | 1907 while () { |
1910 //// | 1908 //// |
1911 } | 1909 } |
1912 } | 1910 } |
1913 ''', | 1911 ''', |
1914 (s) => _after(s, 'while (')); | 1912 (s) => _after(s, 'while (')); |
1915 } | 1913 } |
1916 } | 1914 } |
OLD | NEW |