mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not insert SPDX identifier if already present in SyntaxTest
This commit is contained in:
committed by
Kamil Śliwak
parent
5bbb017915
commit
6f1f0c5bbc
@@ -1 +1,2 @@
|
||||
// This test is actually useless, as the test suite adds the automatic preamble.
|
||||
contract C {}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// This is just ignored:
|
||||
// SPDX-License-Identifier: ⡉⡊⡋⡌⡍⡎⡏⡐⡑⡒
|
||||
contract C {}
|
||||
// ----
|
||||
// Warning 1878: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.
|
||||
|
||||
Reference in New Issue
Block a user