diff options
Diffstat (limited to 'spec/rubyspec/library/readline/basic_quote_characters_spec.rb')
-rw-r--r-- | spec/rubyspec/library/readline/basic_quote_characters_spec.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/rubyspec/library/readline/basic_quote_characters_spec.rb b/spec/rubyspec/library/readline/basic_quote_characters_spec.rb new file mode 100644 index 0000000000..7d25df2047 --- /dev/null +++ b/spec/rubyspec/library/readline/basic_quote_characters_spec.rb @@ -0,0 +1,18 @@ +require File.expand_path('../spec_helper', __FILE__) + +platform_is_not :darwin do + with_feature :readline do + describe "Readline.basic_quote_characters" do + it "returns not nil" do + Readline.basic_quote_characters.should_not be_nil + end + end + + describe "Readline.basic_quote_characters=" do + it "returns the passed string" do + Readline.basic_quote_characters = "test" + Readline.basic_quote_characters.should == "test" + end + end + end +end |