Skip to content

Commit

Permalink
rmustacc/ctf2json#55 remove sys
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlucas authored and rmustacc committed May 18, 2015
1 parent b301f78 commit 49637eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tst/ctype/tst.basicr.js
Expand Up @@ -3,7 +3,7 @@
*/
var mod_ctype = require('../../ctype');
var ASSERT = require('assert');
var mod_sys = require('sys');
var mod_util = require('util');

function test()
{
Expand Down Expand Up @@ -39,7 +39,7 @@ function test()
buffer[3] = 0x26;
result = p.readData([ { y: { type: 'uint8_t' }},
{ x: { type: 'uint8_t[y]' }}], buffer, 0);
console.log(mod_sys.inspect(result, true));
console.log(mod_util.inspect(result, true));

p.typedef('ssize_t', 'int32_t');
ASSERT.deepEqual({ 'ssize_t': 'int32_t' }, p.lstypes());
Expand Down
4 changes: 2 additions & 2 deletions tst/ctype/tst.basicw.js
Expand Up @@ -4,7 +4,7 @@

var mod_ctype = require('../../ctype');
var ASSERT = require('assert');
var mod_sys = require('sys');
var mod_util = require('util');

function test()
{
Expand Down Expand Up @@ -37,7 +37,7 @@ function test()
p.writeData([ { y: { type: 'uint8_t', value: 3 }},
{ x: { type: 'uint8_t[y]', value: [ 0x24, 0x25, 0x26] }}],
buffer, 0);
console.log(mod_sys.inspect(buffer));
console.log(mod_util.inspect(buffer));

p.typedef('ssize_t', 'int32_t');
ASSERT.deepEqual({ 'ssize_t': 'int32_t' }, p.lstypes());
Expand Down

0 comments on commit 49637eb

Please sign in to comment.