blob: 38cf81b037e843cb336e83f0d51bcac4ce8e4855 (
plain)
1
2
3
4
5
6
7
|
require File.expand_path('../../../../spec_helper', __FILE__)
describe "String#unpack with format '%'" do
it "raises an Argument Error" do
lambda { "abc".unpack("%") }.should raise_error(ArgumentError)
end
end
|