OSDN Git Service
(root)
/
shogi-server
/
shogi-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Corrected to be able to test TC_functional.rb alone.
[shogi-server/shogi-server.git]
/
test
/
TC_util.rb
diff --git
a/test/TC_util.rb
b/test/TC_util.rb
index
fcdae10
..
79ac945
100644
(file)
--- a/
test/TC_util.rb
+++ b/
test/TC_util.rb
@@
-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