From 200144dd009d33ff8334be24d0fb2cc91b3a87ab Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 14 Apr 2010 23:59:03 +0000 Subject: Moving scanner tests into separate repository. The repository can be reached at http://svn.rubychan.de/coderay-scanner-tests/trunk. --- test/scanners/ruby/regexp.in.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 test/scanners/ruby/regexp.in.rb (limited to 'test/scanners/ruby/regexp.in.rb') 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 -- cgit v1.2.1