From eea0fb63ae1e09ba7269a1a3cddc52eb8247283e Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Wed, 5 Aug 2015 11:56:22 -0300 Subject: [PATCH] Update test examples to pass testing with new Pretty Diff --- .../nested-jsbeautifyrc/html-erb/expected/test.erb | 2 +- examples/simple-jsbeautifyrc/jsx/expected/test.jsx | 2 +- .../visualforce/expected/basic-page.page | 2 +- .../visualforce/expected/page-with-inputfield.page | 12 ++++++------ .../visualforce/expected/page-with-outputfield.page | 10 +++++----- package.json | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/examples/nested-jsbeautifyrc/html-erb/expected/test.erb b/examples/nested-jsbeautifyrc/html-erb/expected/test.erb index 4703965..53ecd1a 100644 --- a/examples/nested-jsbeautifyrc/html-erb/expected/test.erb +++ b/examples/nested-jsbeautifyrc/html-erb/expected/test.erb @@ -2,7 +2,7 @@ - + Shopping List for <%= @date.strftime('%A, %d %B %Y') %> diff --git a/examples/simple-jsbeautifyrc/jsx/expected/test.jsx b/examples/simple-jsbeautifyrc/jsx/expected/test.jsx index d8cef2f..6d63f7c 100644 --- a/examples/simple-jsbeautifyrc/jsx/expected/test.jsx +++ b/examples/simple-jsbeautifyrc/jsx/expected/test.jsx @@ -1,7 +1,7 @@ var Mist = React.createClass({ renderList: function() { return this.props.items.map(function(item) { - return {item}} key={item.id}/>; + return {item}} key={item.id}/>; }); } }); \ No newline at end of file diff --git a/examples/simple-jsbeautifyrc/visualforce/expected/basic-page.page b/examples/simple-jsbeautifyrc/visualforce/expected/basic-page.page index 6939107..67aa733 100644 --- a/examples/simple-jsbeautifyrc/visualforce/expected/basic-page.page +++ b/examples/simple-jsbeautifyrc/visualforce/expected/basic-page.page @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/examples/simple-jsbeautifyrc/visualforce/expected/page-with-inputfield.page b/examples/simple-jsbeautifyrc/visualforce/expected/page-with-inputfield.page index 1e3a1d2..2d52a61 100644 --- a/examples/simple-jsbeautifyrc/visualforce/expected/page-with-inputfield.page +++ b/examples/simple-jsbeautifyrc/visualforce/expected/page-with-inputfield.page @@ -1,15 +1,15 @@ - + - - - - - + + + + + diff --git a/examples/simple-jsbeautifyrc/visualforce/expected/page-with-outputfield.page b/examples/simple-jsbeautifyrc/visualforce/expected/page-with-outputfield.page index f41d5fe..f2e99ef 100644 --- a/examples/simple-jsbeautifyrc/visualforce/expected/page-with-outputfield.page +++ b/examples/simple-jsbeautifyrc/visualforce/expected/page-with-outputfield.page @@ -1,13 +1,13 @@ - + - - - - + + + + diff --git a/package.json b/package.json index d613653..4e0ac45 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "loophole": "^1.0.0", "node-dir": "^0.1.8", "node-uuid": "^1.4.3", - "prettydiff": "^1.12.8", + "prettydiff": "^1.12.17", "space-pen": "^5.1.1", "strip-json-comments": "^1.0.2", "temp": "^0.8.3",