Commit Graph

3 Commits

Author SHA1 Message Date
Paul Berry 6a31d08d59 Strong mode fix for uri_query_test.dart
The local function test() in testQueryParameters() expects its map to
have type Map<String, String>.  Most of the time this happens
automatically by type inference, but when we create the map using `var
map = new Map()` we need to specify the type arguments explicitly.

Change-Id: I2c6c868af776c3fbd25d862ac8a5bfb9147715dc
Reviewed-on: https://dart-review.googlesource.com/19454
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2017-11-09 07:42:56 +00:00
Bob Nystrom 07b9df22ac Use the Expect.throws___() helper methods throughout tests.
No behavioral changes, just getting rid of a lot of redundant closures
and helper functions.

Change-Id: I55c52c2cc9e5505bb64203c31aad8d76847f8eeb
Reviewed-on: https://dart-review.googlesource.com/14320
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2017-10-17 23:37:15 +00:00
Ben Konyi 4d64b9ee37 Migrate test block 30 + corelib portion of block 31 to Dart 2.0.
Minor changes to uri_path_test and uri_query_test, and status file
updates.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2983123002 .
2017-07-20 08:07:37 -07:00