diff --git a/test/libsolidity/syntaxTests/license/license_double.sol b/test/libsolidity/syntaxTests/license/license_double.sol index 9a652e1e2..0885ad150 100644 --- a/test/libsolidity/syntaxTests/license/license_double.sol +++ b/test/libsolidity/syntaxTests/license/license_double.sol @@ -2,4 +2,4 @@ contract C {} // SPDX-License-Identifier: MIT // ---- -// Warning 1878: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: " to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information. +// ParserError 3716: Multiple SPDX license identifiers found in source file. Use "AND" or "OR" to combine multiple licenses. Please see https://spdx.org for more information. diff --git a/test/libsolidity/syntaxTests/license/license_missing.sol b/test/libsolidity/syntaxTests/license/license_missing.sol index 780c86b6d..e919dc6e5 100644 --- a/test/libsolidity/syntaxTests/license/license_missing.sol +++ b/test/libsolidity/syntaxTests/license/license_missing.sol @@ -1,4 +1,3 @@ // This test is actually useless, as the test suite adds the automatic preamble. contract C {} // ---- -// Warning 1878: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: " to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information. diff --git a/test/libsolidity/syntaxTests/license/license_unicode.sol b/test/libsolidity/syntaxTests/license/license_unicode.sol index 801c6e576..5dbd27069 100644 --- a/test/libsolidity/syntaxTests/license/license_unicode.sol +++ b/test/libsolidity/syntaxTests/license/license_unicode.sol @@ -1,4 +1,5 @@ // SPDX-License-Identifier: ⡉⡊⡋⡌⡍⡎⡏⡐⡑⡒ contract C {} // ---- +// ParserError 5406: SPDX license identifier is ill-formatted. Please see https://spdx.org for more information. // Warning 1878: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: " to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.