Ready to Merge
This commit is contained in:
1 parent
a4ed878fcd
commit
6318a27dde
4508 files changed
No files matched your search
-14
@@ -1,14 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var assert = require("chai").assert
|
||||
, identity = require("../../function/identity");
|
||||
|
||||
describe("function/identity", function () {
|
||||
it("Should return first argument", function () {
|
||||
assert.equal(identity("foo"), "foo");
|
||||
var object = {};
|
||||
assert.equal(identity(object), object);
|
||||
assert.equal(identity(), undefined);
|
||||
assert.equal(identity(1, 2, 3), 1);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user