commit | 6bb33fc14605d0c52628e4f4003548e9b0bdbb34 | [log] [tgz] |
---|---|---|
author | Tuo Shan <shantuo@google.com> | Thu Nov 16 13:42:08 2017 -0800 |
committer | Tuo Shan <shantuo@google.com> | Fri Nov 17 00:38:41 2017 +0000 |
tree | 12ef107a5a16436616d4c406227843080b3cf4d1 | |
parent | 46b0a98c66c5f547c384e0da4841c7d54e5fa333 [diff] |
all: fixed broken tests 1. Use cmp package to replace reflect.DeepEqual 2. db.PutIndex and db.DeleteIndex won't return error when remote_api is not setup, since they are only called inside db.Put and db.Delete. db.Search remains unchanged since it is called externally. Change-Id: Ife84f5a98abe721fbb127e497fdae34125d547a1 Reviewed-on: https://go-review.googlesource.com/78435 Reviewed-by: Ross Light <light@google.com>