Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: update-copyright/tests/data/sample_file.py

Issue 29459580: Issue 5250 - Add copyright update script (Closed) Base URL: https://hg.adblockplus.org/codingtools
Patch Set: Also test strings and non-eyeo copyright info Created July 7, 2017, 3:55 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: update-copyright/tests/data/sample_file.py
===================================================================
new file mode 100644
--- /dev/null
+++ b/update-copyright/tests/data/sample_file.py
@@ -0,0 +1,15 @@
+# This file is part of the Adblock Plus web scripts,
+# Copyright (C) 2006-2015 eyeo GmbH
+#
+# Adblock Plus is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3 as
+# published by the Free Software Foundation.
+#
+
+
+def foo():
+ value = 'LegalCopyright', 'Copyright (C) 2006-2016 Eyeo GmbH'
+ return value
+
+
+# Copyright (C) 2006-2014 example GmbH

Powered by Google App Engine
This is Rietveld