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

Unified Diff: lib/src/prism/tests/languages/nasm/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/nasm/keyword_feature.test
diff --git a/lib/src/prism/tests/languages/nasm/keyword_feature.test b/lib/src/prism/tests/languages/nasm/keyword_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..699387c02ca05cbec3fec9a8d407d4f9605d3067
--- /dev/null
+++ b/lib/src/prism/tests/languages/nasm/keyword_feature.test
@@ -0,0 +1,30 @@
+BITS 16 BITS 32 BITS 64
+[BITS 16] [BITS 32] [BITS 64]
+
+section Foo.bar
+section foobar:
+
+extern _printf
+global _main
+
+CPU 8086
+FLOAT DAZ
+DEFAULT REL
+
+----------------------------------------------------
+
+[
+ ["keyword", "BITS 16"], ["keyword", "BITS 32"], ["keyword", "BITS 64"],
+ ["keyword", "[BITS 16]"], ["keyword", "[BITS 32]"], ["keyword", "[BITS 64]"],
+ ["keyword", "section Foo.bar"],
+ ["keyword", "section foobar:"],
+ ["keyword", "extern _printf"],
+ ["keyword", "global _main"],
+ ["keyword", "CPU 8086"],
+ ["keyword", "FLOAT DAZ"],
+ ["keyword", "DEFAULT REL"]
+]
+
+----------------------------------------------------
+
+Checks for keywords.
« no previous file with comments | « lib/src/prism/tests/languages/nasm/comment_feature.test ('k') | lib/src/prism/tests/languages/nasm/label_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698