mirror of
https://github.com/github/codeql-action.git
synced 2026-01-04 21:50:17 +08:00
Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482)
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com> Co-authored-by: Henry Mercer <henrymercer@github.com>
This commit is contained in:
14
node_modules/binary/test/from_buffer.js
generated
vendored
Normal file
14
node_modules/binary/test/from_buffer.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
var binary = require('../');
|
||||
var test = require('tap').test;
|
||||
|
||||
test('from buffer', function (t) {
|
||||
t.plan(1);
|
||||
|
||||
binary(new Buffer([ 97, 98, 99 ]))
|
||||
.word8('a')
|
||||
.word16be('bc')
|
||||
.tap(function (vars) {
|
||||
t.same(vars, { a : 97, bc : 25187 });
|
||||
})
|
||||
;
|
||||
});
|
||||
Reference in New Issue
Block a user