aboutsummaryrefslogtreecommitdiffstats
path: root/test/contracts/AuctionRegistrar.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-06-27 16:48:03 +0800
committerchriseth <chris@ethereum.org>2018-06-27 16:49:16 +0800
commit4e8883b63d26eb2bcfc5e1c18c8bab8236fff16b (patch)
tree53d6ea6851e2a2d14d23f20ddbaa993cd9312065 /test/contracts/AuctionRegistrar.cpp
parentb55d9aacffa2cff91b4b563ffa26b5df65327adc (diff)
downloaddexon-solidity-4e8883b63d26eb2bcfc5e1c18c8bab8236fff16b.tar
dexon-solidity-4e8883b63d26eb2bcfc5e1c18c8bab8236fff16b.tar.gz
dexon-solidity-4e8883b63d26eb2bcfc5e1c18c8bab8236fff16b.tar.bz2
dexon-solidity-4e8883b63d26eb2bcfc5e1c18c8bab8236fff16b.tar.lz
dexon-solidity-4e8883b63d26eb2bcfc5e1c18c8bab8236fff16b.tar.xz
dexon-solidity-4e8883b63d26eb2bcfc5e1c18c8bab8236fff16b.tar.zst
dexon-solidity-4e8883b63d26eb2bcfc5e1c18c8bab8236fff16b.zip
Add emit keyword to tests.
Diffstat (limited to 'test/contracts/AuctionRegistrar.cpp')
-rw-r--r--test/contracts/AuctionRegistrar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/contracts/AuctionRegistrar.cpp b/test/contracts/AuctionRegistrar.cpp
index a02b09ee..f5abb83d 100644
--- a/test/contracts/AuctionRegistrar.cpp
+++ b/test/contracts/AuctionRegistrar.cpp
@@ -175,10 +175,10 @@ contract GlobalRegistrar is Registrar, AuctionSystem {
m_toRecord[_name].primary = _a;
if (_primary)
{
- PrimaryChanged(_name, _a);
+ emit PrimaryChanged(_name, _a);
m_toName[_a] = _name;
}
- Changed(_name);
+ emit Changed(_name);
}
function setSubRegistrar(string _name, address _registrar) onlyrecordowner(_name) {
m_toRecord[_name].subRegistrar = _registrar;