aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorCryptomental <cryptomental.com@gmail.com>2018-07-10 17:24:24 +0800
committerCryptomental <cryptomental.com@gmail.com>2018-07-10 18:33:19 +0800
commita55abb550dca6b17d74bf0b5947e1947a99e4e95 (patch)
tree0b87a07572ae7ba47775f33374fdd7fbbdfb7706 /test
parentf6edb7fb8f3f86f527d20bbe7b0e55d2c560ba90 (diff)
downloaddexon-solidity-a55abb550dca6b17d74bf0b5947e1947a99e4e95.tar
dexon-solidity-a55abb550dca6b17d74bf0b5947e1947a99e4e95.tar.gz
dexon-solidity-a55abb550dca6b17d74bf0b5947e1947a99e4e95.tar.bz2
dexon-solidity-a55abb550dca6b17d74bf0b5947e1947a99e4e95.tar.lz
dexon-solidity-a55abb550dca6b17d74bf0b5947e1947a99e4e95.tar.xz
dexon-solidity-a55abb550dca6b17d74bf0b5947e1947a99e4e95.tar.zst
dexon-solidity-a55abb550dca6b17d74bf0b5947e1947a99e4e95.zip
AsmParser,TypeChecker: Fix typos.
Fix typos. The change requested as a separate PR during codespell PR. Adapt tests as well. Refs: #4442
Diffstat (limited to 'test')
-rw-r--r--test/libjulia/Parser.cpp2
-rw-r--r--test/libsolidity/InlineAssembly.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/libjulia/Parser.cpp b/test/libjulia/Parser.cpp
index 07154718..3f329d28 100644
--- a/test/libjulia/Parser.cpp
+++ b/test/libjulia/Parser.cpp
@@ -267,7 +267,7 @@ BOOST_AUTO_TEST_CASE(recursion_depth)
BOOST_AUTO_TEST_CASE(multiple_assignment)
{
CHECK_ERROR("{ let x:u256 function f() -> a:u256, b:u256 {} 123:u256, x := f() }", ParserError, "Label name / variable name must precede \",\" (multiple assignment).");
- CHECK_ERROR("{ let x:u256 function f() -> a:u256, b:u256 {} x, 123:u256 := f() }", ParserError, "Variable name expected in multiple assignemnt.");
+ CHECK_ERROR("{ let x:u256 function f() -> a:u256, b:u256 {} x, 123:u256 := f() }", ParserError, "Variable name expected in multiple assignment.");
/// NOTE: Travis hiccups if not having a variable
char const* text = R"(
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp
index 3046372f..a9ce6e49 100644
--- a/test/libsolidity/InlineAssembly.cpp
+++ b/test/libsolidity/InlineAssembly.cpp
@@ -461,7 +461,7 @@ BOOST_AUTO_TEST_CASE(recursion_depth)
BOOST_AUTO_TEST_CASE(multiple_assignment)
{
CHECK_PARSE_ERROR("{ let x function f() -> a, b {} 123, x := f() }", ParserError, "Label name / variable name must precede \",\" (multiple assignment).");
- CHECK_PARSE_ERROR("{ let x function f() -> a, b {} x, 123 := f() }", ParserError, "Variable name expected in multiple assignemnt.");
+ CHECK_PARSE_ERROR("{ let x function f() -> a, b {} x, 123 := f() }", ParserError, "Variable name expected in multiple assignment.");
/// NOTE: Travis hiccups if not having a variable
char const* text = R"(