Skip to content

Commit

Permalink
Regression tests for library_prefixes (#684).
Browse files Browse the repository at this point in the history
See: #684.
  • Loading branch information
pq committed Nov 10, 2017
1 parent a8dcecd commit 248d9d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/rules/library_prefixes.dart
Expand Up @@ -4,11 +4,13 @@

// test w/ `pub run test -N library_prefixes`

import 'dart:convert' as _1; //LINT
import 'dart:core' as _i1; //OK
import 'dart:async' as _async; //OK
import 'dart:collection' as $collection; //OK
import 'dart:math' as dartMath; //LINT [23:8]

main() {
print(dartMath.PI);
print(_async.Timer);
_i1.print(dartMath.PI);
_i1.print(_async.Timer);
}

0 comments on commit 248d9d0

Please sign in to comment.