Skip to content

Commit 5d2c0e7

Browse files
committed
Correct copyright tests
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 373cac7 commit 5d2c0e7

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Copyright (c) 2001 <span class="firstname">Karl</span> <span class="surname">Garrison</span>
2+
<code class="email">(karl AT indy.rr.com)</code>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
what:
2+
- copyrights
3+
- holders
4+
- authors
5+
copyrights:
6+
- Copyright (c) 2001 Karl Garrison (karl AT indy.rr.com)
7+
holders:
8+
- Karl Garrison
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Copyright (c) 2001 Karl Garrison (karl AT indy.rr.com)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
what:
2+
- copyrights
3+
- holders
4+
- authors
5+
copyrights:
6+
- Copyright (c) 2001 Karl Garrison (karl AT indy.rr.com)
7+
holders:
8+
- Karl Garrison

tests/cluecode/data/plugin_filter_clues/filtered-expected3.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,7 @@
7272
"percentage_of_license_text": 100.0,
7373
"copyrights": [],
7474
"holders": [],
75-
"authors": [
76-
{
77-
"author": "Philip Hazel <ph10@cam.ac.uk> University of Cambridge Computing Service, Cambridge, England",
78-
"start_line": 8,
79-
"end_line": 9
80-
}
81-
],
75+
"authors": [],
8276
"emails": [],
8377
"urls": [],
8478
"files_count": 0,

0 commit comments

Comments
 (0)