summaryrefslogtreecommitdiff
path: root/test/pummel/test-timer-wrap2.js
blob: b289a85644a06851e6ac3284ccf5680661a2cda7 (plain)
1
2
3
4
5
6
7
8
9
'use strict';
var common = require('../common');
var assert = require('assert');

// Test that allocating a timer does not increase the loop's reference
// count.

var Timer = process.binding('timer_wrap').Timer;
var t = new Timer();