Skip to content

Commit f7bbe81

Browse files
authored
Inline licence info & copyright for test files (#14257)
1 parent 2251b1e commit f7bbe81

File tree

214 files changed

+875
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+875
-46
lines changed

lib/eex/test/eex/smart_engine_test.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
Code.require_file("../test_helper.exs", __DIR__)
26

37
defmodule EEx.SmartEngineTest do

lib/eex/test/eex/tokenizer_test.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
Code.require_file("../test_helper.exs", __DIR__)
26

37
defmodule EEx.TokenizerTest do

lib/eex/test/eex_test.exs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
Code.require_file("test_helper.exs", __DIR__)
26

37
require EEx
@@ -860,13 +864,13 @@ defmodule EExTest do
860864
file = to_charlist(Path.relative_to_cwd(__ENV__.file))
861865

862866
assert EExTest.Compiled.before_compile() ==
863-
{7, {EExTest.Compiled, :before_compile, 0, [file: file, line: 7]}}
867+
{11, {EExTest.Compiled, :before_compile, 0, [file: file, line: 11]}}
864868

865869
assert EExTest.Compiled.after_compile() ==
866-
{21, {EExTest.Compiled, :after_compile, 0, [file: file, line: 21]}}
870+
{25, {EExTest.Compiled, :after_compile, 0, [file: file, line: 25]}}
867871

868872
assert EExTest.Compiled.unknown() ==
869-
{26, {EExTest.Compiled, :unknown, 0, [file: ~c"unknown", line: 26]}}
873+
{30, {EExTest.Compiled, :unknown, 0, [file: ~c"unknown", line: 30]}}
870874
end
871875
end
872876

lib/eex/test/test_helper.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
{line_exclude, line_include} =
26
if line = System.get_env("LINE"), do: {[:test], [line: line]}, else: {[], []}
37

lib/elixir/test/elixir/access_test.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
Code.require_file("test_helper.exs", __DIR__)
26

37
defmodule AccessTest do

lib/elixir/test/elixir/agent_test.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
Code.require_file("test_helper.exs", __DIR__)
26

37
defmodule AgentTest do

lib/elixir/test/elixir/application_test.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
Code.require_file("test_helper.exs", __DIR__)
26

37
defmodule ApplicationTest do

lib/elixir/test/elixir/atom_test.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
Code.require_file("test_helper.exs", __DIR__)
26

37
defmodule AtomTest do

lib/elixir/test/elixir/base_test.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
Code.require_file("test_helper.exs", __DIR__)
26

37
defmodule BaseTest do

lib/elixir/test/elixir/bitwise_test.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: 2021 The Elixir Team
3+
# SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
Code.require_file("test_helper.exs", __DIR__)
26

37
defmodule BitwiseTest do

0 commit comments

Comments
 (0)