Explorar o código

test: now raft has no shadow issue

We can test raft pkg now!
Xiang Li %!s(int64=10) %!d(string=hai) anos
pai
achega
a6e67a6dec
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      test

+ 0 - 5
test

@@ -76,11 +76,6 @@ fi
 
 echo "Checking govet -shadow..."
 for path in $FMT; do
-	# only check go files under raft dir because
-	# auto generated file in raft/raftpb cannot pass shadow test
-	if [ "${path}" == "raft" ]; then
-		path="raft/*.go"
-	fi
 	vetRes=$(go tool vet -shadow ${path})
 	if [ -n "${vetRes}" ]; then
 		echo -e "govet checking ${path} failed:\n${vetRes}"