summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.bat
diff options
context:
space:
mode:
authorDavid Corbett <corbett.dav@husky.neu.edu>2016-05-25 12:59:04 -0400
committerDavid Corbett <corbett.dav@husky.neu.edu>2016-05-25 12:59:04 -0400
commit0744e221992814a55927739564215a999decdb14 (patch)
treea868fb083730f184080b0968ce3f55bd61f94bf4 /tests/examplefiles/example.bat
parentc1fd7720bb96a0e7c7dd298db34be125ea086a8a (diff)
downloadpygments-git-0744e221992814a55927739564215a999decdb14.tar.gz
Fix Batch variables in FOR loop commands
Diffstat (limited to 'tests/examplefiles/example.bat')
-rw-r--r--tests/examplefiles/example.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/examplefiles/example.bat b/tests/examplefiles/example.bat
index 596f65de..2b45d2bc 100644
--- a/tests/examplefiles/example.bat
+++ b/tests/examplefiles/example.bat
@@ -205,5 +205,7 @@ for /f "tokens=2 delims==" %%G in ( 'assoc %+;/p extension'),%'
) &>nul ver
if errorlevel 0 if not errorlevel 1 set /a _passed+=1
goto :eof
+FOR /F %%a IN ('%%c%%') DO %%a
+rem %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x% %x%
:/?
goto :fail