Test ships: new API.

This commit is contained in:
Philippe PITTOLI 2024-05-22 05:05:43 +02:00
parent 7a342f8391
commit b0d59c92dc

View File

@ -235,7 +235,7 @@ describe "DODB::DataBase" do
}.should be_true }.should be_true
end end
db_ships_by_class.get?("does-not-exist").should be_nil db_ships_by_class.get?("does-not-exist").should eq([] of Ship)
db.rm_storage_dir db.rm_storage_dir
end end
@ -755,7 +755,7 @@ describe "DODB::CachedDataBase" do
}.should be_true }.should be_true
end end
db_ships_by_class.get?("does-not-exist").should be_nil db_ships_by_class.get?("does-not-exist").should eq([] of Ship)
db.rm_storage_dir db.rm_storage_dir
end end