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

Side by Side Diff: lib/src/prism/tests/languages/yaml/number_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, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 ---
2 foo: 0xBadFace
3 bar: 0o754
4 baz: 42
5 foo: 3.14159
6 bar: 4e8
7 baz: 3.1E-7
8 foo: 0.4e+2
9 bar: -0xFF
10 baz: +0o123
11
12 ----------------------------------------------------
13
14 [
15 ["punctuation", "---"],
16 ["key", "foo"], ["punctuation", ":"],
17 ["number", "0xBadFace"],
18 ["key", "bar"], ["punctuation", ":"],
19 ["number", "0o754"],
20 ["key", "baz"], ["punctuation", ":"],
21 ["number", "42"],
22 ["key", "foo"], ["punctuation", ":"],
23 ["number", "3.14159"],
24 ["key", "bar"], ["punctuation", ":"],
25 ["number", "4e8"],
26 ["key", "baz"], ["punctuation", ":"],
27 ["number", "3.1E-7"],
28 ["key", "foo"], ["punctuation", ":"],
29 ["number", "0.4e+2"],
30 ["key", "bar"], ["punctuation", ":"],
31 ["number", "-0xFF"],
32 ["key", "baz"], ["punctuation", ":"],
33 ["number", "+0o123"]
34 ]
35
36 ----------------------------------------------------
37
38 Checks for numbers.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/yaml/null_feature.test ('k') | lib/src/prism/tests/languages/yaml/scalar_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698