@echo off
REM GoSentry test runner
REM Runs go vet and go test with race detection

echo Running go vet...
go vet ./...
if errorlevel 1 (
    echo.
    echo ✗ go vet failed
    exit /b 1
)

echo.
echo Running go test with race detection...
go test -race ./...
if errorlevel 1 (
    echo.
    echo ✗ go test failed
    exit /b 1
)

echo.
echo ✓ All tests passed
