mnbi / textrepo

A repository to store a note text with a timestamp
MIT License
0 stars 0 forks source link

`invoke_searcher_for_entries` should returns `[]` when its target is empty #54

Closed mnbi closed 3 years ago

mnbi commented 3 years ago

FileSystemRepository has a private method, invoke_searcher_for_entries. It accepts an Array object as one of its arguments, which holds timestamps of the target text. If the array is empty, the method must not do nothing. Then, it must return an empty output.