blob: 55d6de342413f8d75d949a206faab5fd8fa2c8c3 (
plain)
1
2
3
4
5
6
7
|
require File.expand_path('../../../../spec_helper', __FILE__)
describe "Array#pack with format '%'" do
it "raises an Argument Error" do
lambda { [1].pack("%") }.should raise_error(ArgumentError)
end
end
|