Skip to content

Commit d901660

Browse files
committed
Simplify schema versioning
1 parent 1c6032c commit d901660

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"fileMatch": [
55
"tests/**/*.json"
66
],
7-
"url": "./schemas/v0-0-1/tests.schema.json"
7+
"url": "./schemas/v0/tests.schema.json"
88
}
99
]
1010
}

test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Some examples of test harnesses using these tests, from the source repository:
2020
- [Data model stringify tests](https://github.com/messageformat/messageformat/blob/11c95dab2b25db8454e49ff4daadb817e1d5b770/packages/mf2-messageformat/src/data-model/stringify.test.ts)
2121
- [Formatting tests](https://github.com/messageformat/messageformat/blob/11c95dab2b25db8454e49ff4daadb817e1d5b770/packages/mf2-messageformat/src/messageformat.test.ts)
2222

23-
A JSON schema is included for the test files in this repository. [Semantic-versioned](https://semver.org/) schema files can be found in the [schemas folder](./schemas/).
23+
A [JSON schema](./schemas/) is included for the test files in this repository.
2424

2525
For users of Visual Studio Code, a [settings file](./.vscode/settings.json) is included that enables schema validation while editing the test files.

test/schemas/v0-0-1/tests.schema.json renamed to test/schemas/v0/tests.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://raw.githubusercontent.com/unicode-org/message-format-wg/main/test/schemas/v0-0-1/tests.schema.json",
3+
"$id": "https://raw.githubusercontent.com/unicode-org/message-format-wg/main/test/schemas/v0/tests.schema.json",
44
"title": "MessageFormat 2 data-driven tests",
55
"description": "This is the main schema for MessageFormat 2 test source data.",
66
"type": "object",

0 commit comments

Comments
 (0)