Add more tests for the SPDX-License-Identifier

This commit is contained in:
Alex Beregszaszi
2021-01-18 16:15:17 +01:00
committed by Kamil Śliwak
parent 359c70649d
commit 5bbb017915
7 changed files with 15 additions and 0 deletions
@@ -0,0 +1,3 @@
// This is parsed as GPL-3.0:
// SPDX-License-Identifier: GPL-3.0 ⡉⡊⡋⡌⡍⡎⡏⡐⡑⡒
contract C {}
@@ -0,0 +1,2 @@
/// SPDX-License-Identifier: GPL-3.0
contract C {}
@@ -0,0 +1,3 @@
// This is just ignored:
// SPDX-License-Identifier: ⡉⡊⡋⡌⡍⡎⡏⡐⡑⡒
contract C {}
@@ -0,0 +1,2 @@
// SPDX-License-Identifier: GPL-3.0
contract C {}
@@ -0,0 +1,2 @@
// SPDX-License-Identifier: GPL-3.0
contract C {}
@@ -0,0 +1,2 @@
// SPDX-License-Identifier: GPL-3.0
contract C {}