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

Unified Diff: lib/src/prism/tests/languages/typescript/keyword_feature.test

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: lib/src/prism/tests/languages/typescript/keyword_feature.test
diff --git a/lib/src/prism/tests/languages/typescript/keyword_feature.test b/lib/src/prism/tests/languages/typescript/keyword_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..f4933d407eb130adf4f41282b0c63f78cda92872
--- /dev/null
+++ b/lib/src/prism/tests/languages/typescript/keyword_feature.test
@@ -0,0 +1,123 @@
+break
+case
+catch
+class;
+const
+continue
+debugger
+default
+delete
+do
+else
+enum
+export
+extends;
+false
+finally
+for
+function
+get
+if
+implements;
+import
+in
+instanceof;
+interface;
+let
+new;
+null
+package
+private
+protected
+public
+return
+set
+static
+super
+switch
+this
+throw
+true
+try
+typeof
+var
+void
+while
+with
+yield
+module
+declare
+constructor
+string
+Function
+any
+number
+boolean
+Array
+enum
+
+----------------------------------------------------
+
+[
+ ["keyword", "break"],
+ ["keyword", "case"],
+ ["keyword", "catch"],
+ ["keyword", "class"], ["punctuation", ";"],
+ ["keyword", "const"],
+ ["keyword", "continue"],
+ ["keyword", "debugger"],
+ ["keyword", "default"],
+ ["keyword", "delete"],
+ ["keyword", "do"],
+ ["keyword", "else"],
+ ["keyword", "enum"],
+ ["keyword", "export"],
+ ["keyword", "extends"], ["punctuation", ";"],
+ ["keyword", "false"],
+ ["keyword", "finally"],
+ ["keyword", "for"],
+ ["keyword", "function"],
+ ["keyword", "get"],
+ ["keyword", "if"],
+ ["keyword", "implements"], ["punctuation", ";"],
+ ["keyword", "import"],
+ ["keyword", "in"],
+ ["keyword", "instanceof"], ["punctuation", ";"],
+ ["keyword", "interface"], ["punctuation", ";"],
+ ["keyword", "let"],
+ ["keyword", "new"], ["punctuation", ";"],
+ ["keyword", "null"],
+ ["keyword", "package"],
+ ["keyword", "private"],
+ ["keyword", "protected"],
+ ["keyword", "public"],
+ ["keyword", "return"],
+ ["keyword", "set"],
+ ["keyword", "static"],
+ ["keyword", "super"],
+ ["keyword", "switch"],
+ ["keyword", "this"],
+ ["keyword", "throw"],
+ ["keyword", "true"],
+ ["keyword", "try"],
+ ["keyword", "typeof"],
+ ["keyword", "var"],
+ ["keyword", "void"],
+ ["keyword", "while"],
+ ["keyword", "with"],
+ ["keyword", "yield"],
+ ["keyword", "module"],
+ ["keyword", "declare"],
+ ["keyword", "constructor"],
+ ["keyword", "string"],
+ ["keyword", "Function"],
+ ["keyword", "any"],
+ ["keyword", "number"],
+ ["keyword", "boolean"],
+ ["keyword", "Array"],
+ ["keyword", "enum"]
+]
+
+----------------------------------------------------
+
+Checks for keywords.
« no previous file with comments | « lib/src/prism/tests/languages/twig/string_feature.test ('k') | lib/src/prism/tests/languages/verilog/comment_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698