Sha256: 3ab4cc62210658fbf355e242840d1dc63e32dd42259c0ffec919f5aa598eb740
Contents?: true
Size: 316 Bytes
Versions: 15
Compression:
Stored size: 316 Bytes
Contents
describe "Array#inspect" do it "returns a String" do [1, 2, 3].inspect.should be_kind_of(String) end it "returns '[]' for an empty Array" do [].inspect.should == "[]" end it "calls inspect on its elements and joins the results with commas" do [0, 1, 2].inspect.should == "[0, 1, 2]" end end
Version data entries
15 entries across 15 versions & 1 rubygems