Skip to content

Commit

Permalink
Add test for copyright with year range #2140
Browse files Browse the repository at this point in the history
This issued existed on 3.0.2 and was fixed with commit:
7ca5115

Reported-by: @FlorianSW
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed Jul 29, 2020
1 parent 3d696e8 commit d600c27
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/cluecode/data/copyrights/florian_notice.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Spring Framework 5.2.6.RELEASE
Copyright (c) 2002-2020 Pivotal, Inc.

This product is licensed to you under the Apache License, Version 2.0
(the "License"). You may not use this product except in compliance with
the License.

This product may include a number of subcomponents with separate
copyright notices and license terms. Your use of the source code for
these subcomponents is subject to the terms and conditions of the
subcomponent's license, as noted in the license.txt file.
11 changes: 11 additions & 0 deletions tests/cluecode/data/copyrights/florian_notice.txt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
what:
- copyrights
- holders
- holders_summary
copyrights:
- Copyright (c) 2002-2020 Pivotal, Inc.
holders:
- Pivotal, Inc.
holders_summary:
- value: Pivotal, Inc.
count: 1

0 comments on commit d600c27

Please sign in to comment.