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

Unified Diff: lib/src/prism/tests/languages/coffeescript/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/coffeescript/keyword_feature.test
diff --git a/lib/src/prism/tests/languages/coffeescript/keyword_feature.test b/lib/src/prism/tests/languages/coffeescript/keyword_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..3207e3982d62a4f6a1024ae5c4db09b5a36bb666
--- /dev/null
+++ b/lib/src/prism/tests/languages/coffeescript/keyword_feature.test
@@ -0,0 +1,41 @@
+and break by catch
+class;
+continue debugger delete
+do each else extend
+extends;
+false finally for if in
+instanceof;
+is isnt let
+loop namespace
+new;
+no not null of off on
+or own return super
+switch then this throw
+true try typeof undefined
+unless until when while
+window with yes yield
+
+----------------------------------------------------
+
+[
+ ["keyword", "and"], ["keyword", "break"], ["keyword", "by"], ["keyword", "catch"],
+ ["keyword", "class"], ["punctuation", ";"],
+ ["keyword", "continue"], ["keyword", "debugger"], ["keyword", "delete"],
+ ["keyword", "do"], ["keyword", "each"], ["keyword", "else"], ["keyword", "extend"],
+ ["keyword", "extends"], ["punctuation", ";"],
+ ["keyword", "false"], ["keyword", "finally"], ["keyword", "for"], ["keyword", "if"], ["keyword", "in"],
+ ["keyword", "instanceof"], ["punctuation", ";"],
+ ["keyword", "is"], ["keyword", "isnt"], ["keyword", "let"],
+ ["keyword", "loop"], ["keyword", "namespace"],
+ ["keyword", "new"], ["punctuation", ";"],
+ ["keyword", "no"], ["keyword", "not"], ["keyword", "null"], ["keyword", "of"], ["keyword", "off"], ["keyword", "on"],
+ ["keyword", "or"], ["keyword", "own"], ["keyword", "return"], ["keyword", "super"],
+ ["keyword", "switch"], ["keyword", "then"], ["keyword", "this"], ["keyword", "throw"],
+ ["keyword", "true"], ["keyword", "try"], ["keyword", "typeof"], ["keyword", "undefined"],
+ ["keyword", "unless"], ["keyword", "until"], ["keyword", "when"], ["keyword", "while"],
+ ["keyword", "window"], ["keyword", "with"], ["keyword", "yes"], ["keyword", "yield"]
+]
+
+----------------------------------------------------
+
+Checks for all keywords.

Powered by Google App Engine
This is Rietveld 408576698