summaryrefslogtreecommitdiffstats
path: root/test/runit_.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2009-02-28 21:19:37 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2009-02-28 21:19:37 +0100
commit0a8b6ea5dc6a9d56638b985dd67b0c45f167e381 (patch)
tree1932cb877c3e623f9a300c37971bb4e073670aea /test/runit_.rb
parent50bb456cf469f73d3a32474dc07bd58c0c64dba1 (diff)
downloadmmap-ruby-0a8b6ea5dc6a9d56638b985dd67b0c45f167e381.zip
mmap-ruby-0a8b6ea5dc6a9d56638b985dd67b0c45f167e381.tar.gz
mmap goes rakeified, build and test OKHEADmaster
Diffstat (limited to 'test/runit_.rb')
-rw-r--r--test/runit_.rb45
1 files changed, 0 insertions, 45 deletions
diff --git a/test/runit_.rb b/test/runit_.rb
deleted file mode 100644
index 639c149..0000000
--- a/test/runit_.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-#:nodoc:all
-begin
- require 'test/unit'
-rescue LoadError
- require 'runit/testcase'
- require 'runit/cui/testrunner'
-
- module RUNIT
- module Assert
- def assert_raises(error, message = nil)
- begin
- yield
- rescue error
- assert(true, message)
- rescue
- assert_fail("must fail with #{error} : #{string}")
- else
- assert_fail("*must* fail : #{string}")
- end
- end
- def flunk(message = "")
- assert_fail(message)
- end
- end
- end
-end
-
-
-if RUBY_VERSION > "1.7"
- class Array
- alias indices select
- end
- class Hash
- alias indexes select
- end
- module BDB
- class Common
- alias indexes select
- end
-
- class Recnum
- alias indices select
- end
- end
-end