aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/readline/filename_quote_characters_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/readline/filename_quote_characters_spec.rb')
-rw-r--r--spec/ruby/library/readline/filename_quote_characters_spec.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/ruby/library/readline/filename_quote_characters_spec.rb b/spec/ruby/library/readline/filename_quote_characters_spec.rb
new file mode 100644
index 0000000000..abee5e9700
--- /dev/null
+++ b/spec/ruby/library/readline/filename_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.filename_quote_characters" do
+ it "returns nil" do
+ Readline.filename_quote_characters.should be_nil
+ end
+ end
+
+ describe "Readline.filename_quote_characters=" do
+ it "returns the passed string" do
+ Readline.filename_quote_characters = "test"
+ Readline.filename_quote_characters.should == "test"
+ end
+ end
+ end
+end