testmark-bash

todos-files.md

todos.sh, across files๐Ÿ”—

todos.sh takes several files, and names each one's file on its lines.

Each case below starts with its CASE/mine.txt, and test-todos-files.sh hands todos.sh two files: that one, as mine.txt, and shared/theirs.txt, which every case shares, as theirs.txt. What todos.sh prints is checked against CASE/output.

TODO: theirs, first
done: theirs, second

files are listed in the order given๐Ÿ”—

TODO: mine
mine.txt:1:TODO: mine
theirs.txt:1:TODO: theirs, first

a file with nothing to do adds nothing๐Ÿ”—

theirs.txt:1:TODO: theirs, first

examples/todos-files.md ยท 817 B ยท 477bcbbdcb