From b0d59c92dc5cf6e581e5a13796a57305ee5f4061 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Wed, 22 May 2024 05:05:43 +0200 Subject: [PATCH] Test ships: new API. --- spec/test-ships.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/test-ships.cr b/spec/test-ships.cr index fa1f359..7583148 100644 --- a/spec/test-ships.cr +++ b/spec/test-ships.cr @@ -235,7 +235,7 @@ describe "DODB::DataBase" do }.should be_true 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 end @@ -755,7 +755,7 @@ describe "DODB::CachedDataBase" do }.should be_true 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 end