From 16a9c7d49211025d7f0e5cb0301a015b5abc2611 Mon Sep 17 00:00:00 2001 From: jdalton Date: Mon, 9 Feb 2015 08:58:08 -0800 Subject: [PATCH] Improve label of unstable test. --- test/test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index d70b42850..f66c17ed9 100644 --- a/test/test.js +++ b/test/test.js @@ -1920,8 +1920,11 @@ }); test('`_.' + methodName + '` should create an object from the same realm as `value`', 1, function() { + var props = []; + var objects = _.transform(_, function(result, value, key) { if (_.startsWith(key, '_') && _.isObject(value) && !_.isArguments(value) && !_.isElement(value) && !_.isFunction(value)) { + props.push(_.capitalize(_.camelCase(key))); result.push(value); } }, []); @@ -1935,7 +1938,7 @@ return result !== object && (result instanceof Ctor || !(new Ctor instanceof Ctor)); }); - deepEqual(actual, expected); + deepEqual(actual, expected, props.join(', ')); }); test('`_.' + methodName + '` should return a unwrapped value when chaining', 2, function() {