diff options
Diffstat (limited to 'test/scanners/ruby/regexp.in.rb')
-rw-r--r-- | test/scanners/ruby/regexp.in.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/scanners/ruby/regexp.in.rb b/test/scanners/ruby/regexp.in.rb deleted file mode 100644 index e10e7a8..0000000 --- a/test/scanners/ruby/regexp.in.rb +++ /dev/null @@ -1,18 +0,0 @@ -# Regexp or division? -some_string.to_i /\s+/ -some_string.split / +/ this is a regexp after a division / -some_string.split / + / this one, too / -some_string.split /- / # and this one is a regexp without division - -it "allows substitution to interact with other Regexp constructs" do - str = "foo)|(bar" - /(#{str})/.should == /(foo)|(bar)/ - - str = "a" - /[#{str}-z]/.should == /[a-z]/ - - not_compliant_on(:ruby) do - str = "J" - re = /\c#{str}/.should == /\cJ/ - end -end
\ No newline at end of file |