OSDN Git Service

../shogi_server/game.rb: mkdir_p will be performed in a global mutex of ShogiServer...
[shogi-server/shogi-server.git] / test / TC_util.rb
index fcdae10..79ac945 100644 (file)
@@ -56,4 +56,8 @@ class TestMkdir < Test::Unit::TestCase
     assert FileTest.directory?(File.dirname(@test_dir))
   end
 
+  def test_dirname
+    assert_equal "/hoge", File.dirname("/hoge/foo")
+  end
+
 end