test: Change `lenght(…) == 0` to `Enum.empty?(…)`

4 jobs for fix/credo-issues-test in 3 minutes and 22 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Lint
passed #16440
lint

00:01:03

 
  Test
passed #16929
unit-testing

00:02:19

failed #16726
unit-testing

00:00:59

failed #16441
unit-testing

00:00:59