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 3570fb3d2e120cf416d66ef78680a050abd64ad3..b6c5497e6c1cd4bbc3249f7187e169917778676f 100644 |
--- a/pkg/front_end/test/token_test.dart |
+++ b/pkg/front_end/test/token_test.dart |
@@ -59,18 +59,22 @@ class Foo { |
fasta.Token comment = nextComment(); |
expect(comment.lexeme, contains('Single line dartdoc comment')); |
expect(comment.type, TokenType.SINGLE_LINE_COMMENT); |
+ expect(comment, new isInstanceOf<DocumentationCommentToken>()); |
comment = nextComment(); |
expect(comment.lexeme, contains('Multi-line dartdoc comment')); |
expect(comment.type, TokenType.MULTI_LINE_COMMENT); |
+ expect(comment, new isInstanceOf<DocumentationCommentToken>()); |
comment = nextComment(); |
expect(comment.lexeme, contains('Single line comment')); |
expect(comment.type, TokenType.SINGLE_LINE_COMMENT); |
+ expect(comment, new isInstanceOf<CommentToken>()); |
comment = nextComment(); |
expect(comment.lexeme, contains('Multi-line comment')); |
expect(comment.type, TokenType.MULTI_LINE_COMMENT); |
+ expect(comment, new isInstanceOf<CommentToken>()); |
} |
void test_copy() { |