Commit 365c3a9
committed
Fix test with unlicensed subdependency
This test broke because the order of output changed, not because
Licensee produced the wrong results.
Previously, the test checked for exact output, line by line. This PR
adds the `--ndjson` flag to the invocation, parses the NDJSON output,
and tests the results logically, without requiring package analyses be
output in any particular order.1 parent f8fee7e commit 365c3a9
1 file changed
+9
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
26 | 15 | | |
0 commit comments