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
98cc201e
Commit
98cc201e
authored
Sep 08, 2009
by
Reece Dunn
Committed by
Alexandre Julliard
Sep 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript/tests: Fixed typos in the output strings.
parent
89173715
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
lang.js
dlls/jscript/tests/lang.js
+14
-14
No files found.
dlls/jscript/tests/lang.js
View file @
98cc201e
...
...
@@ -35,7 +35,7 @@ ok(undefined === undefined, "undefined === undefined is false");
ok
(
!
(
undefined
===
null
),
"!(undefined === null) is false"
);
ok
(
1
E0
===
1
,
"1E0 === 1 is false"
);
ok
(
1000000
*
1000000
===
1000000000000
,
"1000000*1000000 === 1000000000000 is false"
);
ok
(
8.64e15
===
8640000000000000
,
"8.64e15 !== 8640000000000000"
+
8.64e15
);
ok
(
8.64e15
===
8640000000000000
,
"8.64e15 !== 8640000000000000"
);
ok
(
1
e2147483648
===
Infinity
,
"1e2147483648 !== Infinity"
);
ok
(
1
!==
2
,
"1 !== 2 is false"
);
...
...
@@ -63,7 +63,7 @@ ok(ScriptEngine.length === 0, "ScriptEngine.length is not 0");
function
testFunc1
(
x
,
y
)
{
ok
(
this
!==
undefined
,
"this is undefined"
);
ok
(
x
===
true
,
"x is not
1
"
);
ok
(
x
===
true
,
"x is not
true
"
);
ok
(
y
===
"test"
,
"y is not
\"
test
\"
"
);
ok
(
arguments
.
length
===
2
,
"arguments.length is not 2"
);
ok
(
arguments
[
"0"
]
===
true
,
"arguments[0] is not true"
);
...
...
@@ -386,9 +386,9 @@ ok(+"0xff" === 255, "+'0xff' !== 255");
ok
(
+
"3e3"
===
3000
,
"+'3e3' !== 3000"
);
tmp
=
new
Number
(
1
);
ok
(
+
tmp
===
1
,
"
ToNumber
(new Number(1)) = "
+
(
+
tmp
));
ok
(
+
tmp
===
1
,
"
+
(new Number(1)) = "
+
(
+
tmp
));
tmp
=
new
String
(
"1"
);
ok
(
+
tmp
===
1
,
"
ToNumber
(new String('1')) = "
+
(
+
tmp
));
ok
(
+
tmp
===
1
,
"
+
(new String('1')) = "
+
(
+
tmp
));
ok
(
""
+
0
===
"0"
,
"
\"\"
+ 0 !==
\"
0
\"
"
);
ok
(
""
+
123
===
"123"
,
"
\"\"
+ 123 !==
\"
123
\"
"
);
...
...
@@ -462,7 +462,7 @@ try {
ok
(
state
===
""
,
"try: state = "
+
state
);
state
=
"try"
;
}
finally
{
ok
(
state
===
"try"
,
"f
u
nally: state = "
+
state
);
ok
(
state
===
"try"
,
"f
i
nally: state = "
+
state
);
state
=
"finally"
;
}
ok
(
state
===
"finally"
,
"state = "
+
state
+
" expected finally"
);
...
...
@@ -474,7 +474,7 @@ try {
}
catch
(
ex
)
{
ok
(
false
,
"unexpected catch"
);
}
finally
{
ok
(
state
===
"try"
,
"f
u
nally: state = "
+
state
);
ok
(
state
===
"try"
,
"f
i
nally: state = "
+
state
);
state
=
"finally"
;
}
ok
(
state
===
"finally"
,
"state = "
+
state
+
" expected finally"
);
...
...
@@ -501,7 +501,7 @@ try {
ok
(
ex
===
true
,
"ex is not true"
);
state
=
"catch"
;
}
finally
{
ok
(
state
===
"catch"
,
"f
u
nally: state = "
+
state
);
ok
(
state
===
"catch"
,
"f
i
nally: state = "
+
state
);
state
=
"finally"
;
}
ok
(
state
===
"finally"
,
"state = "
+
state
+
" expected finally"
);
...
...
@@ -516,7 +516,7 @@ try {
ok
(
ex
===
true
,
"ex is not true"
);
state
=
"catch"
;
}
finally
{
ok
(
state
===
"catch"
,
"f
u
nally: state = "
+
state
);
ok
(
state
===
"catch"
,
"f
i
nally: state = "
+
state
);
state
=
"finally"
;
}
ok
(
state
===
"finally"
,
"state = "
+
state
+
" expected finally"
);
...
...
@@ -531,7 +531,7 @@ try {
ok
(
ex
===
true
,
"ex is not true"
);
state
=
"catch"
;
}
finally
{
ok
(
state
===
"catch"
,
"f
u
nally: state = "
+
state
);
ok
(
state
===
"catch"
,
"f
i
nally: state = "
+
state
);
state
=
"finally"
;
}
ok
(
state
===
"finally"
,
"state = "
+
state
+
" expected finally"
);
...
...
@@ -550,7 +550,7 @@ try {
ok
(
ex
===
true
,
"ex is not true"
);
state
=
"catch"
;
}
finally
{
ok
(
state
===
"catch"
,
"f
u
nally: state = "
+
state
);
ok
(
state
===
"catch"
,
"f
i
nally: state = "
+
state
);
state
=
"finally"
;
}
ok
(
state
===
"finally"
,
"state = "
+
state
+
" expected finally"
);
...
...
@@ -622,7 +622,7 @@ try {
ok
(
ex
===
true
,
"ex is not true"
);
state
=
"catch"
;
}
finally
{
ok
(
state
===
"catch"
,
"f
u
nally: state = "
+
state
);
ok
(
state
===
"catch"
,
"f
i
nally: state = "
+
state
);
state
=
"finally"
;
}
ok
(
state
===
"finally"
,
"state = "
+
state
+
" expected finally"
);
...
...
@@ -837,8 +837,8 @@ ok(isNaN(0.5, NaN) === false, "isNaN(0.5, NaN) !== false");
ok
(
isNaN
(
+
undefined
)
===
true
,
"isNaN(+undefined) !== true"
);
ok
(
isFinite
(
0.5
)
===
true
,
"isFinite(0.5) !== true"
);
ok
(
isFinite
(
Infinity
)
===
false
,
"isFinite(Infinity) !== fals"
);
ok
(
isFinite
(
-
Infinity
)
===
false
,
"isFinite(Infinity) !== fals"
);
ok
(
isFinite
(
Infinity
)
===
false
,
"isFinite(Infinity) !== fals
e
"
);
ok
(
isFinite
(
-
Infinity
)
===
false
,
"isFinite(Infinity) !== fals
e
"
);
ok
(
isFinite
(
NaN
)
===
false
,
"isFinite(NaN) !== false"
);
ok
(
isFinite
(
0.5
,
NaN
)
===
true
,
"isFinite(0.5, NaN) !== true"
);
ok
(
isFinite
(
NaN
,
0.5
)
===
false
,
"isFinite(NaN, 0.5) !== false"
);
...
...
@@ -933,7 +933,7 @@ ok(re.source === "=(\\?|%3F)", "re.source = " + re.source);
ok
(
createNullBSTR
()
===
''
,
"createNullBSTR() !== ''"
);
ok
(
getVT
(
nullDisp
)
===
"VT_DISPATCH"
,
"getVT(nullDisp) = "
+
typeof
(
nullDisp
));
ok
(
getVT
(
nullDisp
)
===
"VT_DISPATCH"
,
"getVT(nullDisp) = "
+
getVT
(
nullDisp
));
ok
(
typeof
(
nullDisp
)
===
"object"
,
"typeof(nullDisp) = "
+
typeof
(
nullDisp
));
function
do_test
()
{}
...
...
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