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

Side by Side Diff: pkg/intl/test/message_extraction/failed_extraction_test.dart

Issue 22392004: Improvements to warnings on message extraction. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes from review Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 import "message_extraction_test.dart";
2 import "dart:io";
3 import "package:unittest/unittest.dart";
4
5 main() {
6 run(null, ["extract_to_json.dart",
7 "sample_with_messages.dart", "part_of_sample_with_messages.dart"])
8 .then((ProcessResult result) {
9 expect(result.exitCode, 0);
10 });
11 run(null, ["extract_to_json.dart", "--warnings-are-errors",
12 "sample_with_messages.dart", "part_of_sample_with_messages.dart"])
13 .then((ProcessResult result) {
14 expect(result.exitCode, 1);
15 });
16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698