| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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.operation; | 5 library test.operation; |
| 6 | 6 |
| 7 import 'package:analysis_server/src/operation/operation.dart'; | 7 import 'package:analysis_server/src/operation/operation.dart'; |
| 8 import 'package:unittest/unittest.dart'; | 8 import 'package:unittest/unittest.dart'; |
| 9 | 9 |
| 10 import '../utils.dart'; |
| 11 |
| 10 main() { | 12 main() { |
| 11 groupSep = ' | '; | 13 initializeTestEnvironment(); |
| 12 | 14 |
| 13 group('ServerOperationPriority', () { | 15 group('ServerOperationPriority', () { |
| 14 test('toString', () { | 16 test('toString', () { |
| 15 expect(ServerOperationPriority.ANALYSIS.toString(), 'ANALYSIS'); | 17 expect(ServerOperationPriority.ANALYSIS.toString(), 'ANALYSIS'); |
| 16 }); | 18 }); |
| 17 }); | 19 }); |
| 18 } | 20 } |
| OLD | NEW |