Skip to content

Commit 12fc640

Browse files
authored
Rename tests to test (#7)
Signed-off-by: Juan Cruz Viotti <[email protected]>
1 parent 76f189c commit 12fc640

File tree

61 files changed

+5
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+5
-5
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ PYTHON = python3
44

55
# TODO: Extend `validate` to take a directory as argument
66
SCHEMAS = $(shell find schemas/ -type f -name '*.json')
7-
TESTS = $(shell find tests/ -type f -name '*.json')
7+
TESTS = $(shell find test/ -type f -name '*.json')
88

99
all: common test
10-
$(JSONSCHEMA) fmt schemas tests conventions.json tests.json --verbose
10+
$(JSONSCHEMA) fmt schemas test conventions.json tests.json --verbose
1111

1212
common: .always
1313
$(JSONSCHEMA) metaschema schemas conventions.json tests.json --verbose
@@ -18,10 +18,10 @@ common: .always
1818
./scripts/schemas-tests-mirror.sh
1919

2020
lint: common
21-
$(JSONSCHEMA) fmt schemas tests conventions.json tests.json --verbose --check
21+
$(JSONSCHEMA) fmt schemas test conventions.json tests.json --verbose --check
2222

2323
test: .always
24-
$(JSONSCHEMA) test ./tests
24+
$(JSONSCHEMA) test ./test
2525

2626
generate: .always
2727
$(PYTHON) scripts/generate-iso-currency.py

scripts/schemas-tests-mirror.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -o errexit
44
set -o nounset
55

66
SCHEMAS_DIR="$(pwd)/schemas"
7-
TESTS_DIR="$(pwd)/tests"
7+
TESTS_DIR="$(pwd)/test"
88
EXIT_CODE=0
99

1010
find "$SCHEMAS_DIR" -type f -name "*.json" | while IFS= read -r schema_file

0 commit comments

Comments
 (0)