We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fa5bc2 commit d477060Copy full SHA for d477060
2 files changed
.pre-commit-config.yaml
@@ -3,7 +3,7 @@ repos:
3
rev: 1.5.4
4
hooks:
5
- id: duolingo
6
- exclude: test/before
+ exclude: test/malformatted
7
- repo: local
8
9
- id: test
Makefile
@@ -47,7 +47,8 @@ shell:
47
.PHONY: test
48
test:
49
docker run --rm -v "$${PWD}/test:/test" "$$(docker build -q .)" sh -c \
50
- 'cp -r /test/before /tmp \
51
- && /entry /tmp/before/* \
52
- && diff -r /tmp/before /test/after \
+ 'cp -r /test/before /tmp/actual \
+ && cp -r /test/after /tmp/expected \
+ && /entry /tmp/actual/* \
53
+ && diff -r /tmp/expected /tmp/actual \
54
&& echo "All tests passed!"'
0 commit comments