From e3d2748970f81a7100db54db9cf230f63e1e9116 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 9 Nov 2014 16:26:12 +1100 Subject: [PATCH] fix up react display-name test whitespace --- .../react/display-name-assignment-expression/expected.js | 3 ++- .../react/display-name-object-declaration/expected.js | 1 + .../react/display-name-property-assignment/expected.js | 3 ++- .../react/display-name-variable-declaration/expected.js | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/test/fixtures/transformation/react/display-name-assignment-expression/expected.js b/test/fixtures/transformation/react/display-name-assignment-expression/expected.js index 6d69f27a7a..f2159b2dfe 100644 --- a/test/fixtures/transformation/react/display-name-assignment-expression/expected.js +++ b/test/fixtures/transformation/react/display-name-assignment-expression/expected.js @@ -3,7 +3,8 @@ var Component; Component = React.createClass({ displayName: "Component", + render: function () { return null; } -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/react/display-name-object-declaration/expected.js b/test/fixtures/transformation/react/display-name-object-declaration/expected.js index 3e8f1cd6c8..ad5da2eed8 100644 --- a/test/fixtures/transformation/react/display-name-object-declaration/expected.js +++ b/test/fixtures/transformation/react/display-name-object-declaration/expected.js @@ -3,6 +3,7 @@ exports = { Component: React.createClass({ displayName: "Component", + render: function () { return null; } diff --git a/test/fixtures/transformation/react/display-name-property-assignment/expected.js b/test/fixtures/transformation/react/display-name-property-assignment/expected.js index e174173e41..661947e1c8 100644 --- a/test/fixtures/transformation/react/display-name-property-assignment/expected.js +++ b/test/fixtures/transformation/react/display-name-property-assignment/expected.js @@ -2,7 +2,8 @@ exports.Component = React.createClass({ displayName: "Component", + render: function () { return null; } -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/react/display-name-variable-declaration/expected.js b/test/fixtures/transformation/react/display-name-variable-declaration/expected.js index 505d82ae8b..7aedb82664 100644 --- a/test/fixtures/transformation/react/display-name-variable-declaration/expected.js +++ b/test/fixtures/transformation/react/display-name-variable-declaration/expected.js @@ -2,7 +2,8 @@ var Component = React.createClass({ displayName: "Component", + render: function () { return null; } -}); \ No newline at end of file +});