Sha256: 5e66fc38230123c84c4a03cd591c3e987341d2e8449a04db04fb97a797053849
Contents?: true
Size: 417 Bytes
Versions: 4
Compression:
Stored size: 417 Bytes
Contents
describe :readline_history_size, :shared => true do it "returns the size of the history" do Readline::HISTORY.send(@method).should == 0 Readline::HISTORY.push("1", "2", "") Readline::HISTORY.send(@method).should == 3 Readline::HISTORY.pop Readline::HISTORY.send(@method).should == 2 Readline::HISTORY.pop Readline::HISTORY.pop Readline::HISTORY.send(@method).should == 0 end end
Version data entries
4 entries across 4 versions & 2 rubygems