Index: pkg/front_end/test/token_test.dart |
diff --git a/pkg/front_end/test/token_test.dart b/pkg/front_end/test/token_test.dart |
index 6e25376804f64c53530765f38fc829436fd74ae8..3358b81ef288e9f04279e4228cb13472189eddff 100644 |
--- a/pkg/front_end/test/token_test.dart |
+++ b/pkg/front_end/test/token_test.dart |
@@ -159,6 +159,14 @@ class Foo { |
List<Keyword> get _allKeywords => |
new List.from(Keyword.values)..addAll(fasta.Keyword.values); |
+ void test_all_keywords() { |
+ var keywords = new Set<fasta.Keyword>.from(fasta.Keyword.values); |
+ for (Keyword kw in Keyword.values) { |
+ expect(keywords.remove(kw), isTrue, reason: kw.name); |
+ } |
+ expect(keywords, isEmpty); |
+ } |
+ |
void test_built_in_keywords() { |
var builtInKeywords = new Set<Keyword>.from([ |
Keyword.ABSTRACT, |