Better requirements handling.
parent
99b8b5e20b
commit
ae2b4801c1
|
@ -1,7 +1,7 @@
|
|||
require "spec"
|
||||
require "file_utils"
|
||||
|
||||
require "../src/cached.cr"
|
||||
require "../src/dodb.cr"
|
||||
require "./test-data.cr"
|
||||
|
||||
|
||||
|
@ -113,7 +113,8 @@ describe "DODB::DataBase::Cached" do
|
|||
# db_ships_by_name.get?(ship.name).should eq(ship)
|
||||
# end
|
||||
# end
|
||||
#
|
||||
# end
|
||||
|
||||
# it "raise on index overload" do
|
||||
# db = DODB::SpecDataBase.new
|
||||
#
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
require "file_utils"
|
||||
require "json"
|
||||
|
||||
require "./dodb.cr"
|
||||
|
||||
class Hash(K,V)
|
||||
def reverse
|
||||
rev = Array(Tuple(K,V)).new
|
||||
|
|
|
@ -336,3 +336,4 @@ class DODB::DataBase(V)
|
|||
end
|
||||
end
|
||||
|
||||
require "./cached.cr"
|
||||
|
|
Loading…
Reference in New Issue