Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit b82f175

Browse files
committed
Fix argument types in tests
1 parent 90adb46 commit b82f175

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎tests/V8Int32Value.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ $helper->space();
5454

5555

5656
$helper->header('Test negative value in constructor');
57-
$value = new V8\Int32Value($isolate, -123.456);
57+
$value = new V8\Int32Value($isolate, -123);
5858
$helper->method_export($value, 'Value');
5959
$helper->method_export($value, 'BooleanValue', [$context]);
6060
$helper->method_export($value, 'NumberValue', [$context]);

‎tests/V8IntegerValue.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ $helper->space();
5454

5555

5656
$helper->header('Test negative value in constructor');
57-
$value = new V8\IntegerValue($isolate, -123.456);
57+
$value = new V8\IntegerValue($isolate, -123);
5858
$helper->method_export($value, 'Value');
5959
$helper->method_export($value, 'BooleanValue', [$context]);
6060
$helper->method_export($value, 'NumberValue', [$context]);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /