We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca93b9a + 404a1d3 commit fbc833eCopy full SHA for fbc833e
.githooks/pre-commit
@@ -42,7 +42,7 @@ fi
42
# go test check
43
delta_test_files=`git diff --name-status origin/master | egrep "_test\.go$" | awk '{print $2}'`
44
for delta_test_file in ${delta_test_files}; do
45
- test_casts=`egrep "func TestAcc.+\(" ./tencentcloud/data_source_tc_gaap_proxies_test.go | awk -F "(" '{print $1}' | awk '{print $2}'`
+ test_casts=`egrep "func TestAcc.+\(" ${delta_test_file} | awk -F "(" '{print $1}' | awk '{print $2}'`
46
for test_cast in ${test_casts}; do
47
go_test_cmd="go test -v -run ${test_cast} -timeout=0 ./tencentcloud/"
48
echo ${go_test_cmd}
0 commit comments