diff options
-rw-r--r-- | spec/ruby/library/stringscanner/shared/extract_range.rb | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -9,14 +9,16 @@ describe :extract_range, shared: true do ch.should be_an_instance_of(String) end - it "taints the returned String if the input was tainted" do - str = 'abc' - str.taint - s = StringScanner.new(str) - s.send(@method).tainted?.should be_true - s.send(@method).tainted?.should be_true - s.send(@method).tainted?.should be_true end end |