mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
cmd: Add testcases for goto.
This commit is contained in:
parent
e22f6aa6e3
commit
27717a5127
@ -59,3 +59,14 @@ if /i foo==FOO echo if /i seems to work
|
||||
if /i not foo==FOO echo if /i seems to be broken
|
||||
if /I foo==FOO echo if /I seems to work
|
||||
if /I not foo==FOO echo if /I seems to be broken
|
||||
|
||||
echo -----------Testing GOTO-----------
|
||||
if a==a goto dest1
|
||||
:dest1
|
||||
echo goto with no leading space worked
|
||||
if b==b goto dest2
|
||||
:dest2
|
||||
echo goto with a leading space worked
|
||||
if c==c goto dest3
|
||||
:dest3
|
||||
echo goto with a leading tab worked
|
||||
|
@ -40,3 +40,7 @@ Testing case sensitivity with and without /i option
|
||||
if seems to default to case sensitivity
|
||||
if /i seems to work
|
||||
if /I seems to work
|
||||
-----------Testing GOTO-----------
|
||||
goto with no leading space worked
|
||||
goto with a leading space worked
|
||||
goto with a leading tab worked
|
||||
|
Loading…
Reference in New Issue
Block a user