tests, Makefile: cleaning up

This commit is contained in:
2024-08-09 23:50:31 -06:00
parent 66f809162b
commit b76ff8fd90
5 changed files with 14 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ fop_help: $(BIN)/fop
.PHONY: fop_delimiter
fop_delimiter: $(BIN)/fop
test "$$(printf 'test1 test1 test1\n' | $(BIN)/fop -d' ' 2 sed 's/2/4/g')" \
test "$$(printf 'test1 test1 test1\n' | $(BIN)/fop -d' ' 2 sed 's/1/4/g')" \
= 'test1 test1 test4'
test "$$(printf 'meowsetwoofsetribbit\n' \
| $(BIN)/fop -d 'set' 1 sed 's/woof/meow/g')" = 'meowsetmeowsetribbit'