Skip to content

Commit

Permalink
Spaces, not tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan committed Apr 21, 2012
1 parent 46c59ad commit 7e4dd92
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions 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.