diff options
author | zelig <viktor.tron@gmail.com> | 2015-07-06 02:19:42 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-07 16:43:49 +0800 |
commit | 1208ac83d5a93214f23bf3f9236e29869ee62407 (patch) | |
tree | 28d07022d6fbda7a4cf9478ae7341c217ff200f1 /common/docserver/docserver_test.go | |
parent | aa22cf323ef408f0562817352f68197f8b982f75 (diff) | |
download | dexon-1208ac83d5a93214f23bf3f9236e29869ee62407.tar dexon-1208ac83d5a93214f23bf3f9236e29869ee62407.tar.gz dexon-1208ac83d5a93214f23bf3f9236e29869ee62407.tar.bz2 dexon-1208ac83d5a93214f23bf3f9236e29869ee62407.tar.lz dexon-1208ac83d5a93214f23bf3f9236e29869ee62407.tar.xz dexon-1208ac83d5a93214f23bf3f9236e29869ee62407.tar.zst dexon-1208ac83d5a93214f23bf3f9236e29869ee62407.zip |
fix natspec test
* registar url string retrieval chop leading zeros now
* rewrite test using test mining
* remove temporary applyTxs from xeth
Diffstat (limited to 'common/docserver/docserver_test.go')
-rw-r--r-- | common/docserver/docserver_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/docserver/docserver_test.go b/common/docserver/docserver_test.go index 09b16864a..ca126071c 100644 --- a/common/docserver/docserver_test.go +++ b/common/docserver/docserver_test.go @@ -27,7 +27,7 @@ func TestGetAuthContent(t *testing.T) { hash = common.Hash{} content, err = ds.GetAuthContent("file:///test.content", hash) - expected := "content hash mismatch" + expected := "content hash mismatch 0000000000000000000000000000000000000000000000000000000000000000 != 9c22ff5f21f0b81b113e63f7db6da94fedef11b2119b4088b89664fb9a3cb658 (exp)" if err == nil { t.Errorf("expected error, got nothing") } else { |