mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
291 B
13 lines
291 B
9 years ago
|
'use strict';
|
||
|
|
||
|
var toArray = require('es5-ext/array/to-array')
|
||
|
, Set = require('../../');
|
||
|
|
||
|
module.exports = function (t, a) {
|
||
|
var content = ['raz', 2, true], set = new Set(content), copy;
|
||
|
|
||
|
copy = t.call(set);
|
||
|
a.not(copy, set, "Copy");
|
||
|
a.deep(toArray(copy), content, "Content");
|
||
|
};
|