test-ships: changes in Tags taken into account.

This commit is contained in:
Philippe PITTOLI 2024-05-22 03:57:35 +02:00
parent 087784a620
commit ce50f6f334

View File

@ -280,7 +280,7 @@ describe "DODB::DataBase" do
.should be_true .should be_true
# There shouldnt be one in our data about WWII Japanese warships… # There shouldnt be one in our data about WWII Japanese warships…
db_ships_by_tags.get?("starship").should be_nil db_ships_by_tags.get?("starship").should eq([] of Ship)
db.rm_storage_dir db.rm_storage_dir
end end
@ -800,7 +800,7 @@ describe "DODB::CachedDataBase" do
.should be_true .should be_true
# There shouldnt be one in our data about WWII Japanese warships… # There shouldnt be one in our data about WWII Japanese warships…
db_ships_by_tags.get?("starship").should be_nil db_ships_by_tags.get?("starship").should eq([] of Ship)
db.rm_storage_dir db.rm_storage_dir
end end