tests for all modes
This commit is contained in:
parent
d7e54337b0
commit
f9d4bbac49
79 changed files with 18431 additions and 23112 deletions
15
lib/ace/mode/_test/text_ruby.txt
Normal file
15
lib/ace/mode/_test/text_ruby.txt
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#test: symbol tokenizer
|
||||
[:@thing, :$thing, :_thing, :thing, :Thing, :thing1, :thing_a,
|
||||
:THING, :thing!, :thing=, :thing?, :t?,
|
||||
:, :@, :$, :1, :1thing, :th?ing, :thi=ng, :1thing,
|
||||
:th!ing, :thing#
|
||||
]
|
||||
|
||||
#test: namespaces aren't symbols" : function() {
|
||||
Namespaced::Class
|
||||
#test: hex tokenizer
|
||||
0x9a, 0XA1, 0x9_a, 0x, 0x_9a, 0x9a_,
|
||||
#test: float tokenizer
|
||||
[1, +1, -1, 12_345, 0.000_1,
|
||||
_, 3_1, 1_2, 1_.0, 0._1];
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue