HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/src/ruby-2.7.4/spec/ruby/library/readline/constants_spec.rb
require_relative 'spec_helper'

with_feature :readline do
  # Note: additional specs for HISTORY are in 'history' subdir.
  describe "Readline::HISTORY" do
    it "is defined" do
      Readline.const_defined?(:HISTORY).should == true
    end
  end

  describe "Readline::VERSION" do
    it "is defined and is a non-empty String" do
      Readline.const_defined?(:VERSION).should == true
      Readline::VERSION.should be_kind_of(String)
      Readline::VERSION.should_not be_empty
    end
  end
end