Update tests

This commit is contained in:
Alex Beregszaszi 2021-05-14 21:53:08 +01:00
parent 2916206cab
commit cf5510ca7f
3 changed files with 2 additions and 2 deletions

View File

@ -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: <SPDX-License>" 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.

View File

@ -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: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

View File

@ -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: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.