sul-dlss / cocina-models

Cocina repository data model (implemented in Ruby)
https://sul-dlss.github.io/cocina-models/
3 stars 0 forks source link

make Cocina::Models::Validators::DarkValidator#invalid_files a bit more concise/idiomatic #645

Closed jmartin-sul closed 10 months ago

jmartin-sul commented 10 months ago

Why was this change made? 🤔

cribbed off this class for LanguageTagValidator, switched to something more concise for a similar method there, doing the same here

see https://github.com/sul-dlss/cocina-models/pull/643

How was this change tested? 🤨

(existing) unit tests

âš¡ âš  If this change has cross service impact, run integration tests and/or test in [stage|qa] environment, in addition to specs. âš¡