GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — n-api: add uint32 test for -1 · nodejs/node@4ae6130

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/js-native-api/test_number
    • test.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/js-native-api/test_number/test.js‎

Copy file name to clipboardExpand all lines: test/js-native-api/test_number/test.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ testUint32(4294967295);
4848
testUint32(4294967296, 0);
4949
testUint32(4294967297, 1);
5050
testUint32(17 * 4294967296 + 1, 1);
51+
testUint32(-1, 0xffffffff);
5152

5253
// Validate documented behavior when value is retrieved as 32-bit integer with
5354
// `napi_get_value_int32`

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.