Index: pkg/intl/test/message_extraction/embedded_plural_text_after_test.dart |
diff --git a/pkg/intl/test/message_extraction/really_fail_extraction_test.dart b/pkg/intl/test/message_extraction/embedded_plural_text_after_test.dart |
similarity index 60% |
copy from pkg/intl/test/message_extraction/really_fail_extraction_test.dart |
copy to pkg/intl/test/message_extraction/embedded_plural_text_after_test.dart |
index 76f52519bc6ebf5c2e389e828704bbab7c80e2ed..64032b1bdb1e8829a45a99010d88d629649018e9 100644 |
--- a/pkg/intl/test/message_extraction/really_fail_extraction_test.dart |
+++ b/pkg/intl/test/message_extraction/embedded_plural_text_after_test.dart |
@@ -2,13 +2,15 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-library really_fail_extraction_test; |
+library embedded_plural_text_after_test; |
import "failed_extraction_test.dart"; |
import "package:unittest/unittest.dart"; |
main() { |
- test("Expect failure because warnings are errors", () { |
- runTestWithWarnings(warningsAreErrors: true, expectedExitCode: 1); |
+ test("Expect failure because of embedded plural with text after it", () { |
+ var specialFiles = ['embedded_plural_text_after.dart']; |
+ runTestWithWarnings(warningsAreErrors: true, expectedExitCode: 1, |
+ embeddedPlurals: false, sourceFiles: specialFiles); |
}); |
} |