CARVIEW |
Every repository with this icon (

Every repository with this icon (

Description: | Executable specification for the Ruby programming language using RSpec syntax. edit |
-
supportx
Bots needed for:
1.8.6 stable
1.8.7 stable
1.8 head
1.9 headComments
-
Ensure that once modifier for dynamic regexp is processed OK
2 comments Created about 1 month ago by jableyFrom 0adaa2a Mon Sep 17 00:00:00 2001
From: James Abley james.abley@gmail.com">james.abley@gmail.com
Date: Thu, 15 Oct 2009 21:58:56 +0100
Subject: [PATCH] Spec for non-ascii dynamic regexp with once modifierSee https://jira.codehaus.org/browse/JRUBY-4037
core/regexp/modifiers_spec.rb | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) create mode 100644 core/regexp/modifiers_spec.rb
diff --git a/core/regexp/modifiers_spec.rb b/core/regexp/modifiers_spec.rb
new file mode 100644
index 0000000..aab50ac
--- /dev/null +++ b/core/regexp/modifiers_spec.rb @@ -0,0 +1,8 @@ +# -- coding: utf-8 -- +require File.dirname(FILE) + '/../../spec_helper' + +describe "Regexp#modifiers" do + it "returns the same inspect value for dynamic regexp whether once is used or not" do + "ä"[/#{/\w/}/uo].inspect.should == "ä"[/#{/\w/}/u].inspect + end +end -- 1.6.0.4Comments