.gitignore, first test added.
This commit is contained in:
parent
bc01c2c8b8
commit
ea746a749a
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.swp
|
6
tests/optimizer.rb
Normal file
6
tests/optimizer.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class OptimizerTest < Test::Unit::TestCase
|
||||
context "Optimizer" do
|
||||
should "optimize many charblocks to one charblock" do
|
||||
/[a-dt-z]/.to_s == RegExpr[ main: '[a-d] | [t-z]'].to_r.to_s
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue