Skip to content

Commit

Permalink
update tests post-prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Nov 11, 2017
1 parent d159f50 commit f77288e
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 27 deletions.
4 changes: 1 addition & 3 deletions test/cli/basic/expected/output.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
var answer = function() {
return 42;
};
var answer = function () { return 42; };
4 changes: 2 additions & 2 deletions test/cli/compiles-directory/expected/bar.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/cli/compiles-directory/expected/baz.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion test/cli/compiles-directory/expected/foo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/cli/compiles-directory/expected/foo.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions test/cli/creates-inline-sourcemap/expected/output.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions test/cli/creates-sourcemap/expected/output.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/cli/creates-sourcemap/expected/output.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/cli/supports-jsx-pragma-comment/expected/output.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* @jsx customPragma */
var div = customPragma('div', null, 'Hello');
var div = customPragma( 'div', null, "Hello" );
2 changes: 1 addition & 1 deletion test/cli/supports-jsx-pragma/expected/output.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
var img = NotReact.createElement('img', { src: 'foo.gif' });
var img = NotReact.createElement( 'img', { src: "foo.gif" });
2 changes: 1 addition & 1 deletion test/cli/supports-jsx/expected/output.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
var img = React.createElement('img', { src: 'foo.gif' });
var img = React.createElement( 'img', { src: 'foo.gif' });
4 changes: 1 addition & 3 deletions test/cli/uses-overrides/expected/output.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
const answer = function() {
return 42;
};
const answer = function () { return 42; };
5 changes: 2 additions & 3 deletions test/cli/writes-to-stdout/expected/output.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
var answer = function() {
return 42;
};
var answer = function () { return 42; };

0 comments on commit f77288e

Please sign in to comment.