OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 args_test; | 5 library args_test; |
6 | 6 |
7 import 'package:unittest/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; |
8 import 'package:args/args.dart'; | 8 import 'package:args/args.dart'; |
9 import 'utils.dart'; | 9 import 'utils.dart'; |
10 | 10 |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 'with\ttab', | 295 'with\ttab', |
296 'with\rcarriage\rreturn', | 296 'with\rcarriage\rreturn', |
297 'with\nline\nfeed', | 297 'with\nline\nfeed', |
298 "'singlequotes'", | 298 "'singlequotes'", |
299 '"doublequotes"', | 299 '"doublequotes"', |
300 'back\\slash', | 300 'back\\slash', |
301 'forward/slash' | 301 'forward/slash' |
302 ]; | 302 ]; |
303 | 303 |
304 const _VALID_OPTIONS = const [ | 304 const _VALID_OPTIONS = const [ |
305 'a' // One character. | 305 'a', // One character. |
306 'contains-dash', | 306 'contains-dash', |
307 'contains_underscore', | 307 'contains_underscore', |
308 'ends-with-dash-', | 308 'ends-with-dash-', |
309 'contains--doubledash--', | 309 'contains--doubledash--', |
310 '1starts-with-number', | 310 '1starts-with-number', |
311 'contains-a-1number', | 311 'contains-a-1number', |
312 'ends-with-a-number8' | 312 'ends-with-a-number8' |
313 ]; | 313 ]; |
OLD | NEW |