From 532be6cd87e4bdb49f5be158be5714bc20eda8c9 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 16 Sep 2014 01:00:00 -0700 Subject: [PATCH] Minor `_.transform` test title nits. [ci skip] --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index fa1bf1ff3..edb7a875c 100644 --- a/test/test.js +++ b/test/test.js @@ -11139,7 +11139,7 @@ QUnit.module('lodash.transform'); (function() { - test('should produce an that is an instance of the given object\'s constructor', 2, function() { + test('should produce an object with the same `[[Prototype]]` as `object`', 2, function() { function Foo() { this.a = 1; this.b = 2; @@ -11167,7 +11167,7 @@ ok(_.transform(new Foo) instanceof Foo); }); - test('should check that `object` is an object before using it as the `accumulator` `[[Prototype]]', 1, function() { + test('should check that `object` is an object before using its `[[Prototype]]`', 1, function() { ok(!(_.transform(1) instanceof Number)); });