From 88f7e70abe38f08bd1840417a0bb3721e5004097 Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Wed, 16 Apr 2014 16:14:25 -0700 Subject: [PATCH] negative top/left tests --- spec/LayoutSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/LayoutSpec.js b/spec/LayoutSpec.js index 3b79f71f..ab257cfc 100755 --- a/spec/LayoutSpec.js +++ b/spec/LayoutSpec.js @@ -599,8 +599,8 @@ describe('Layout', function() { var node = {style: {}}; randMinMax(node, 0.1, 'width', 0, 1000); randMinMax(node, 0.1, 'height', 0, 1000); - randMinMax(node, 0.1, 'top', 0, 10); - randMinMax(node, 0.1, 'left', 0, 10); + randMinMax(node, 0.1, 'top', -10, 10); + randMinMax(node, 0.1, 'left', -10, 10); randSpacing(node, 0.1, 'margin', 0, 20); randSpacing(node, 0.1, 'padding', 0, 20); randEnum(node, 0.1, 'flexDirection', ['row', 'column']);