Skip to content

Commit d923819

Browse files
committed
Revise comments in README examples
1 parent f07efb5 commit d923819

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ assert.throws(function () {
1919
})
2020

2121
assert.deepEqual(
22-
// Dual licensed under LGPL 2.1 or a combination of the Three-Clause
23-
// BSD License and the MIT License.
22+
// Dual licensed under either:
23+
// - LGPL 2.1
24+
// - a combination of Three-Clause BSD and MIT
2425
parse('(LGPL-2.1 OR BSD-3-Clause AND MIT)'),
2526
{
2627
left: {license: 'LGPL-2.1'},
@@ -65,8 +66,11 @@ The bulk of the SPDX standard describes syntax and semantics of XML metadata fil
6566

6667
```javascript
6768
assert.deepEqual(
68-
// Licensed under a combination of the MIT License and a combination
69-
// of LGPL 2.1 (or a later version) and the Three-Clause BSD License.
69+
// Licensed under a combination of:
70+
// - the MIT License AND
71+
// - a combination of:
72+
// - LGPL 2.1 (or a later version) AND
73+
// - Three-Clause BSD
7074
parse('(MIT AND (LGPL-2.1+ AND BSD-3-Clause))'),
7175
{
7276
left: {license: 'MIT'},

0 commit comments

Comments
 (0)