aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-24 01:57:57 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-24 01:57:57 +0800
commite88a29ad028cf5e147fdfc7fc008f58a9abce260 (patch)
treea56e63b96b6cdd1837620a8582dd4c9a56305060
parentf2f65c1a65d39a31fa0c6ed574fb2a6e213de5d4 (diff)
parent53af810851844c884fe95e1121c09e8778ce7749 (diff)
downloadgo-tangerine-e88a29ad028cf5e147fdfc7fc008f58a9abce260.tar
go-tangerine-e88a29ad028cf5e147fdfc7fc008f58a9abce260.tar.gz
go-tangerine-e88a29ad028cf5e147fdfc7fc008f58a9abce260.tar.bz2
go-tangerine-e88a29ad028cf5e147fdfc7fc008f58a9abce260.tar.lz
go-tangerine-e88a29ad028cf5e147fdfc7fc008f58a9abce260.tar.xz
go-tangerine-e88a29ad028cf5e147fdfc7fc008f58a9abce260.tar.zst
go-tangerine-e88a29ad028cf5e147fdfc7fc008f58a9abce260.zip
Merge pull request #553 from ethersphere/jsonlog
natspec: minor fix in test
-rw-r--r--common/natspec/natspec_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/natspec/natspec_test.go b/common/natspec/natspec_test.go
index 330dc831d..3b548817b 100644
--- a/common/natspec/natspec_test.go
+++ b/common/natspec/natspec_test.go
@@ -72,7 +72,7 @@ func TestNotice(t *testing.T) {
badDesc := "Will multiply `e` by 7 and return `a * 7`."
notice, err = ns.Notice(tx, abi, method, badDesc)
- expected = "natspec.js error evaluating expression: Error: Natspec evaluation failed, wrong input params"
+ expected = "natspec.js error evaluating expression: Natspec evaluation failed, wrong input params"
if err == nil {
t.Errorf("expected error, got nothing (notice: '%v')", notice)
@@ -84,7 +84,7 @@ func TestNotice(t *testing.T) {
notice, err = ns.Notice(tx, abi, "missing_method", desc)
- expected = "natspec.js error evaluating expression: Error: Natspec evaluation failed, method does not exist"
+ expected = "natspec.js error evaluating expression: Natspec evaluation failed, method does not exist"
if err == nil {
t.Errorf("expected error, got nothing (notice: '%v')", notice)