Skip to content

Commit f433f54

Browse files
committed
Corrections
Corrected test schema reference and refined parse test description
1 parent 753261d commit f433f54

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/tests.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ to the PURL specification for tool functions such as:
88
- parse a canonical PURL string into a set of PURL components
99
- parse a PURL string input and rebuild it as a canonical PURL string
1010

11-
The current JSON schema is available at: [`purl-spec/schemas/purl-test.schema-0.1.json`](https://github.com/package-url/purl-spec/blob/main/schemas/purl-type-definition.schema-1.0.json).
11+
The current JSON schema is available at: [`purl-spec/schemas/purl-test.schema-0.1.json`](https://github.com/package-url/purl-spec/blob/main/schemas/purl-test.schema-0.1.json).
1212

1313
The test files are available at:
1414
- [`purl-spec/tests/spec/`](https://github.com/package-url/purl-spec/tree/main/tests/spec):
@@ -38,8 +38,7 @@ permissive than base tests. They may correct some errors.
3838
There are three PURL test types:
3939
- **build**: A test to build a canonical PURL output string from an input of
4040
decoded PURL components. See also [`/docs/how-build.md`](https://github.com/package-url/purl-spec/blob/main/docs/how-to-build.md).
41-
- **parse**: A test to parse decoded components from a canonical PURL
42-
input string. See also [`/docs/how-parse.md`](https://github.com/package-url/purl-spec/blob/main/docs/how-to-parse.md).
41+
- **parse**: A test to parse a PURL input string into a set of decoded components. See also [`/docs/how-parse.md`](https://github.com/package-url/purl-spec/blob/main/docs/how-to-parse.md).
4342
- **roundtrip**: A test to parse an input PURL string and then rebuild it as a
4443
canonical PURL output string.
4544

schemas/purl-test.schema-0.1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
],
109109
"meta:enum": {
110110
"build": "A test to build a canonical PURL output string from an input of decoded PURL components.",
111-
"parse": A test to parse decoded components from a PURL input string.",
111+
"parse": "A test to parse a PURL input string into a set of decoded components.",
112112
"roundtrip": "A test to produce a canonical PURL output string from an input PURL string."
113113
}
114114
},

0 commit comments

Comments
 (0)