OSDN Git Service

Corrected to be able to test TC_jishogi_kachi.rb alone.
authorDaigo Moriwaki <beatles@users.sourceforge.jp>
Sat, 3 Dec 2011 12:19:38 +0000 (21:19 +0900)
committerDaigo Moriwaki <daigo@debian.org>
Sat, 3 Dec 2011 12:19:38 +0000 (21:19 +0900)
test/TC_jishogi_kachi.rb

index 824cafc..2d5242d 100644 (file)
@@ -1,4 +1,6 @@
-require "baseclient"
+$:.unshift File.join(File.dirname(__FILE__), "..")
+$topdir = File.expand_path File.dirname(__FILE__)
+require "test/baseclient"
 include Socket::Constants
 
 class JishogiTest < ReadFileClient