diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-05-21 00:35:05 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-05-21 00:35:05 +0800 |
commit | a92591e5193b42200163b907b3ef4e36b08636ce (patch) | |
tree | 6979b41bfa4033db4acfb5cb8f0ccaebc8e0af6b /libsolidity/SolidityEndToEndTest.cpp | |
parent | 007c88216bf20967c685baadd00cd4a0bebf5941 (diff) | |
download | dexon-solidity-a92591e5193b42200163b907b3ef4e36b08636ce.tar dexon-solidity-a92591e5193b42200163b907b3ef4e36b08636ce.tar.gz dexon-solidity-a92591e5193b42200163b907b3ef4e36b08636ce.tar.bz2 dexon-solidity-a92591e5193b42200163b907b3ef4e36b08636ce.tar.lz dexon-solidity-a92591e5193b42200163b907b3ef4e36b08636ce.tar.xz dexon-solidity-a92591e5193b42200163b907b3ef4e36b08636ce.tar.zst dexon-solidity-a92591e5193b42200163b907b3ef4e36b08636ce.zip |
style fix
Diffstat (limited to 'libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r-- | libsolidity/SolidityEndToEndTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/SolidityEndToEndTest.cpp b/libsolidity/SolidityEndToEndTest.cpp index c900fff4..6b7007a2 100644 --- a/libsolidity/SolidityEndToEndTest.cpp +++ b/libsolidity/SolidityEndToEndTest.cpp @@ -4040,7 +4040,7 @@ BOOST_AUTO_TEST_CASE(struct_assign_reference_to_struct) } function assign() returns (uint ret_local, uint ret_global, uint ret_global3, uint ret_global1) { - testStruct x = data1; //x is a reference data1..m_value == 2 as well as x.m_value = 2 + testStruct x = data1; //x is a reference data1.m_value == 2 as well as x.m_value = 2 data2 = data1; // should copy data. data2.m_value == 2 ret_local = x.m_value; // = 2 @@ -4049,7 +4049,7 @@ BOOST_AUTO_TEST_CASE(struct_assign_reference_to_struct) x.m_value = 3; data3 = x; //should copy the data. data3.m_value == 3 ret_global3 = data3.m_value; // = 3 - ret_global1 = data1.m_value; // =3 + ret_global1 = data1.m_value; // = 3 } } )"; |