Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Issue 10890009: Rewrite language/list_test to use Expect.throws, and to allow a TypeError exception in checked mode. (Closed)

Created:
8 years, 3 months ago by Bill Hesse
Modified:
8 years, 3 months ago
Reviewers:
ahe, ngeoffray
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Rewrite language/list_test to use Expect.throws, and to allow a TypeError exception in checked mode. BUG= TEST=language/list_test Committed: https://code.google.com/p/dart/source/detail?r=11447

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -59 lines) Patch
M tests/language/list_test.dart View 2 chunks +15 lines, -59 lines 3 comments Download

Messages

Total messages: 5 (0 generated)
Bill Hesse
8 years, 3 months ago (2012-08-28 14:08:34 UTC) #1
Bill Hesse
8 years, 3 months ago (2012-08-28 14:12:32 UTC) #2
ngeoffray
LGTM http://codereview.chromium.org/10890009/diff/1/tests/language/list_test.dart File tests/language/list_test.dart (right): http://codereview.chromium.org/10890009/diff/1/tests/language/list_test.dart#newcode56 tests/language/list_test.dart:56: }, (e) => true); Do you need to ...
8 years, 3 months ago (2012-08-28 14:17:07 UTC) #3
ahe
LGTM, thanks for cleaning it up.
8 years, 3 months ago (2012-08-28 14:18:46 UTC) #4
Bill Hesse
8 years, 3 months ago (2012-08-28 14:31:58 UTC) #5
http://codereview.chromium.org/10890009/diff/1/tests/language/list_test.dart
File tests/language/list_test.dart (right):

http://codereview.chromium.org/10890009/diff/1/tests/language/list_test.dart#...
tests/language/list_test.dart:56: }, (e) => true);
On 2012/08/28 14:17:07, ngeoffray wrote:
> Do you need to add this closure?

No, I don't.  Thanks for pointing that out.

Powered by Google App Engine
This is Rietveld 408576698