summaryrefslogtreecommitdiff
path: root/test/pathname/test_pathname.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/pathname/test_pathname.rb')
-rw-r--r--test/pathname/test_pathname.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb
index 340af2423d..5d22531885 100644
--- a/test/pathname/test_pathname.rb
+++ b/test/pathname/test_pathname.rb
@@ -1164,6 +1164,11 @@ class TestPathname < Test::Unit::TestCase
assert_kind_of(Pathname, wd)
end
+ def test_s_pwd
+ wd = Pathname.pwd
+ assert_kind_of(Pathname, wd)
+ end
+
def test_entries
with_tmpchdir('rubytest-pathname') {|dir|
open("a", "w") {}