diff --git a/test/functional/lib/smart_request.js b/test/functional/lib/smart_request.js index f1c822178..9ca777c77 100644 --- a/test/functional/lib/smart_request.js +++ b/test/functional/lib/smart_request.js @@ -1,8 +1,10 @@ var assert = require('assert') var request = require('request') -var sym = Symbol('smart_request_data') var Promise = require('bluebird') +var sym = typeof Symbol !== 'undefined' + ? Symbol('smart_request_data') + : '__why_does_node_0.10_support_suck_so_much' function smart_request(options) { var self = {}