Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Spaces, not tabs.

  • Loading branch information...
commit 7e4dd92f44348800584019f22a72bb619c6d86fd 1 parent 46c59ad
@BanzaiMan BanzaiMan authored
Showing with 11 additions and 11 deletions.
  1. +11 −11 spec/java_integration/regex/matcher_end_spec.rb
View
22 spec/java_integration/regex/matcher_end_spec.rb
@@ -1,17 +1,17 @@
require File.dirname(__FILE__) + "/../spec_helper"
describe "java.util.regex.Matcher.end" do
- it "does not blow stack" do
- # See https://jira.codehaus.org/browse/JRUBY-6571
- import 'java.util.regex.Pattern'
- import 'java.util.regex.Matcher'
+ it "does not blow stack" do
+ # See https://jira.codehaus.org/browse/JRUBY-6571
+ import 'java.util.regex.Pattern'
+ import 'java.util.regex.Matcher'
- s = 'hello world'
- r = Pattern.compile("[eo]")
- m = r.matcher(s)
+ s = 'hello world'
+ r = Pattern.compile("[eo]")
+ m = r.matcher(s)
- while m.find()
- lambda{ m.end(0) }.should_not raise_error
- end
- end
+ while m.find()
+ lambda{ m.end(0) }.should_not raise_error
+ end
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.