Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e9ad716a
Commit
e9ad716a
authored
Sep 21, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Added const statement tests.
parent
6cbf3e3b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
lang.vbs
dlls/vbscript/tests/lang.vbs
+18
-0
No files found.
dlls/vbscript/tests/lang.vbs
View file @
e9ad716a
...
@@ -688,4 +688,22 @@ Call obj.test(obj)
...
@@ -688,4 +688,22 @@ Call obj.test(obj)
Call
ok
(
getVT
(
test
)
=
"VT_DISPATCH"
,
"getVT(test) = "
&
getVT
(
test
))
Call
ok
(
getVT
(
test
)
=
"VT_DISPATCH"
,
"getVT(test) = "
&
getVT
(
test
))
Call
ok
(
Me
is
Test
,
"Me is not Test"
)
Call
ok
(
Me
is
Test
,
"Me is not Test"
)
Const
c1
=
1
,
c2
=
2
Call
ok
(
c1
=
1
,
"c1 = "
&
c1
)
Call
ok
(
getVT
(
c1
)
=
"VT_I2"
,
"getVT(c1) = "
&
getVT
(
c1
))
if
false
then
Const
conststr
=
"str"
Call
ok
(
conststr
=
"str"
,
"conststr = "
&
conststr
)
Call
ok
(
getVT
(
conststr
)
=
"VT_BSTR"
,
"getVT(conststr) = "
&
getVT
(
conststr
))
Call
ok
(
conststr
=
"str"
,
"conststr = "
&
conststr
)
Sub
ConstTestSub
Const
funcconst
=
1
Call
ok
(
c1
=
1
,
"c1 = "
&
c1
)
Call
ok
(
funcconst
=
1
,
"funcconst = "
&
funcconst
)
End
Sub
Call
ConstTestSub
Dim
funcconst
reportSuccess
()
reportSuccess
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment