Explorar el Código

test: now raft has no shadow issue

We can test raft pkg now!
Xiang Li hace 10 años
padre
commit
a6e67a6dec
Se han modificado 1 ficheros con 0 adiciones y 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}"