Skip to content

Commit e77d53f

Browse files
committed
Use initial year for copyright notice
1 parent 99a039d commit e77d53f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/test_other.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9712,10 +9712,10 @@ def test_emscripten_license(self, expect_license, args):
97129712
run_process([PYTHON, EMCC, path_from_root('tests', 'hello_world.c')] + args)
97139713
with open('a.out.js') as f:
97149714
js = f.read()
9715-
self.assertContainedIf('Copyright 2020 Emscripten authors', js, expect_license)
9715+
self.assertContainedIf('Copyright 2010 Emscripten authors', js, expect_license)
97169716
self.assertContainedIf('SPDX-License-Identifier: MIT', js, expect_license)
97179717
if expect_license:
9718-
self.assertEqual(js.count('Copyright 2020 Emscripten authors'), 1)
9718+
self.assertEqual(js.count('Copyright 2010 Emscripten authors'), 1)
97199719

97209720
def test_add_emscripten_metadata_not_emitted(self):
97219721
run_process([PYTHON, EMCC, path_from_root('tests', 'hello_world.c'),

tools/shared.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3004,15 +3004,15 @@ class JS(object):
30043004
emscripten_license = '''\
30053005
/**
30063006
* @license
3007-
* Copyright 2020 Emscripten authors
3007+
* Copyright 2010 Emscripten authors
30083008
* SPDX-License-Identifier: MIT
30093009
*/
30103010
'''
30113011

30123012
closured_emscripten_license = '''\
30133013
/*
30143014
3015-
Copyright 2020 The Emscripten Authors
3015+
Copyright 2010 The Emscripten Authors
30163016
SPDX-License-Identifier: MIT
30173017
*/
30183018
'''

0 commit comments

Comments
 (0)