diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-11 23:56:44 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-11 23:56:44 +0800 |
commit | 90f34ed40a1b3c87073d7e2e13b5515cc4cb3940 (patch) | |
tree | 6e4bde8570711504da9443be8c9662effe198679 /rpc/args_test.go | |
parent | 9e89c803f124e98530067c409a67c03d7ab99ef3 (diff) | |
download | dexon-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar dexon-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar.gz dexon-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar.bz2 dexon-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar.lz dexon-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar.xz dexon-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar.zst dexon-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.zip |
Rename Topic to Topics
Diffstat (limited to 'rpc/args_test.go')
-rw-r--r-- | rpc/args_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/args_test.go b/rpc/args_test.go index ec5400f3f..027624500 100644 --- a/rpc/args_test.go +++ b/rpc/args_test.go @@ -270,7 +270,7 @@ func TestFilterOptions(t *testing.T) { t.Errorf("Address shoud be %#v but is %#v", expected.Address, args.Address) } - // if expected.Topic != args.Topic { + // if expected.Topics != args.Topics { // t.Errorf("Topic shoud be %#v but is %#v", expected.Topic, args.Topic) // } } @@ -316,7 +316,7 @@ func TestWhisperMessageArgs(t *testing.T) { expected.Payload = "0x68656c6c6f20776f726c64" expected.Priority = 100 expected.Ttl = 100 - expected.Topic = []string{"0x68656c6c6f20776f726c64"} + expected.Topics = []string{"0x68656c6c6f20776f726c64"} args := new(WhisperMessageArgs) if err := json.Unmarshal([]byte(input), &args); err != nil { @@ -343,7 +343,7 @@ func TestWhisperMessageArgs(t *testing.T) { t.Errorf("Priority shoud be %#v but is %#v", expected.Priority, args.Priority) } - // if expected.Topic != args.Topic { + // if expected.Topics != args.Topics { // t.Errorf("Topic shoud be %#v but is %#v", expected.Topic, args.Topic) // } } |