Permalink
Browse files

Spaces, not tabs.

  • Loading branch information...
BanzaiMan committed Apr 21, 2012
1 parent 46c59ad commit 7e4dd92f44348800584019f22a72bb619c6d86fd
Showing with 11 additions and 11 deletions.
  1. +11 −11 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

0 comments on commit 7e4dd92

Please sign in to comment.