forked from prettier/prettier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable Flow till facebook/flow#3234 is merged.
- Loading branch information
1 parent
34cf017
commit 90bf937
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
19 changes: 10 additions & 9 deletions
19
tests/expression_statement/__snapshots__/jsfmt.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
exports[`test use_strict.js 1`] = ` | ||
"// Parentheses around expression statement should be preserved in this case. | ||
(\"use strict\"); | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
// Parentheses around expression statement should be preserved in this case. | ||
(\"use strict\"); | ||
" | ||
`; | ||
|
||
exports[`test no_regression.js 1`] = ` | ||
"// Ensure no regression. | ||
\"use strict\"; | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
// Ensure no regression. | ||
\"use strict\"; | ||
" | ||
`; | ||
|
||
exports[`test use_strict.js 1`] = ` | ||
"// Parentheses around expression statement should be preserved in this case. | ||
(\"use strict\"); | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
// Parentheses around expression statement should be preserved in this case. | ||
(\"use strict\"); | ||
" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
run_spec(__dirname); | ||
|
||
// TODO: Re-enable Flow when the following fix is merged facebook/flow#3234. | ||
run_spec(__dirname, {parser: 'babylon'}); |