aboutsummaryrefslogtreecommitdiffstats
path: root/test/cmdlineTests/too_long_line
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2019-01-07 22:29:33 +0800
committerGitHub <noreply@github.com>2019-01-07 22:29:33 +0800
commit165a6891212bd440a65da4084a823dccbf83a433 (patch)
treea80e8261c35ed986b09a12164bf7fc5f5c9618ea /test/cmdlineTests/too_long_line
parentd9910f2a1258e8d16d7a57905dabcd09db4e6a8d (diff)
parentd2105be57d62e5113a086b555a747ac7b4601b41 (diff)
downloaddexon-solidity-165a6891212bd440a65da4084a823dccbf83a433.tar.gz
dexon-solidity-165a6891212bd440a65da4084a823dccbf83a433.tar.zst
dexon-solidity-165a6891212bd440a65da4084a823dccbf83a433.zip
Merge pull request #5685 from androlo/develop
Update command-line tests
Diffstat (limited to 'test/cmdlineTests/too_long_line')
-rw-r--r--test/cmdlineTests/too_long_line/err6
-rw-r--r--test/cmdlineTests/too_long_line/exit1
-rw-r--r--test/cmdlineTests/too_long_line/input.sol4
3 files changed, 11 insertions, 0 deletions
diff --git a/test/cmdlineTests/too_long_line/err b/test/cmdlineTests/too_long_line/err
new file mode 100644
index 00000000..bfbc8e1e
--- /dev/null
+++ b/test/cmdlineTests/too_long_line/err
@@ -0,0 +1,6 @@
+too_long_line/input.sol:1:1: Warning: Source file does not specify required compiler version!
+contract C {
+^ (Relevant source part starts here and spans across multiple lines).
+too_long_line/input.sol:2:164: Error: Identifier not found or not unique.
+ ... ffffffffffffffffffffffffffffffffff(announcementType Type, string Announcement, string ...
+ ^--------------^
diff --git a/test/cmdlineTests/too_long_line/exit b/test/cmdlineTests/too_long_line/exit
new file mode 100644
index 00000000..d00491fd
--- /dev/null
+++ b/test/cmdlineTests/too_long_line/exit
@@ -0,0 +1 @@
+1
diff --git a/test/cmdlineTests/too_long_line/input.sol b/test/cmdlineTests/too_long_line/input.sol
new file mode 100644
index 00000000..7df1057a
--- /dev/null
+++ b/test/cmdlineTests/too_long_line/input.sol
@@ -0,0 +1,4 @@
+contract C {
+ function ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff(announcementType Type, string Announcement, string Link, bool Oppositable, string _str, uint256 _uint, address _addr) onlyOwner external {
+}
+}