mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
TestDown passed a directory where Down expects the destination file path and then read the result from the working directory, so it could not pass; TestTemp was a leftover scratch benchmark that wrote a 512 MiB file to a hard-coded Windows path and called log.Fatal, which killed the whole test binary. Both tests also fetch a file from GitHub and compare it with a fixed checksum. Remove TestTemp, fix the destination, and run the two network tests only when V2RAYA_NETWORK_TESTS=1. go test ./... is green now.