3 Commits

Author SHA1 Message Date
Łukasz Langa
104e07b66b
Fix trailing whitespace in the test 2020-05-17 22:54:27 +02:00
Łukasz Langa
9af31192c2
Make tests more robust and readable 2020-05-17 20:17:56 +02:00
liloman
a8e52626ef Swap sqlite cursor with dictionary and set data structures (#24)
1. Use 2 new data structures:
-paths (set) contains all the files in the actual filesystem
-hashes (dictionary) substitute the sqlite query with dict[hash] = set(db paths)

2. Minimal unitary tests created with bats (bash script)

See https://github.com/ambv/bitrot/issues/23 for details.
2017-03-03 10:16:46 -08:00