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

Unified Diff: lib/src/prism/tests/languages/inform7/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/inform7/keyword_feature.test
diff --git a/lib/src/prism/tests/languages/inform7/keyword_feature.test b/lib/src/prism/tests/languages/inform7/keyword_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..b2497b4a78f4160818e0fa806e10119b187a9e10
--- /dev/null
+++ b/lib/src/prism/tests/languages/inform7/keyword_feature.test
@@ -0,0 +1,85 @@
+after
+before
+carry out
+check
+continue the action
+definition :
+do nothing
+else
+end if
+end unless
+end the story
+every turn
+if
+include
+instead
+instead of
+let
+move
+no
+now
+otherwise
+repeat
+report
+resume the story
+rule for
+running through
+say
+saying
+stop the action
+test
+try
+trying
+understand
+unless
+use
+when
+while
+yes
+
+----------------------------------------------------
+
+[
+ ["keyword", "after"],
+ ["keyword", "before"],
+ ["keyword", "carry out"],
+ ["keyword", "check"],
+ ["keyword", "continue the action"],
+ ["keyword", "definition"], ["punctuation", ":"],
+ ["keyword", "do nothing"],
+ ["keyword", "else"],
+ ["keyword", "end if"],
+ ["keyword", "end unless"],
+ ["keyword", "end the story"],
+ ["keyword", "every turn"],
+ ["keyword", "if"],
+ ["keyword", "include"],
+ ["keyword", "instead"],
+ ["keyword", "instead of"],
+ ["keyword", "let"],
+ ["keyword", "move"],
+ ["keyword", "no"],
+ ["keyword", "now"],
+ ["keyword", "otherwise"],
+ ["keyword", "repeat"],
+ ["keyword", "report"],
+ ["keyword", "resume the story"],
+ ["keyword", "rule for"],
+ ["keyword", "running through"],
+ ["keyword", "say"],
+ ["keyword", "saying"],
+ ["keyword", "stop the action"],
+ ["keyword", "test"],
+ ["keyword", "try"],
+ ["keyword", "trying"],
+ ["keyword", "understand"],
+ ["keyword", "unless"],
+ ["keyword", "use"],
+ ["keyword", "when"],
+ ["keyword", "while"],
+ ["keyword", "yes"]
+]
+
+----------------------------------------------------
+
+Checks for keywords.
« no previous file with comments | « lib/src/prism/tests/languages/inform7/comment_feature.test ('k') | lib/src/prism/tests/languages/inform7/number_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698