diff options
| author | Martin Probst <martin@probst.io> | 2017-07-03 14:29:13 +0000 |
|---|---|---|
| committer | Martin Probst <martin@probst.io> | 2017-07-03 14:29:13 +0000 |
| commit | bd1eb12d3179f691a5c18e48f601f6005be70d14 (patch) | |
| tree | 4c034267b25f56955ad7757299d243e9ba8fc016 /clang/unittests | |
| parent | 448095c19bc0ec5a6d714f42bbb1aa349d282099 (diff) | |
| download | bcm5719-llvm-bd1eb12d3179f691a5c18e48f601f6005be70d14.tar.gz bcm5719-llvm-bd1eb12d3179f691a5c18e48f601f6005be70d14.zip | |
clang-format: [JS] space between pseudo keywords and template literals.
Summary:
Before:
yield`foo`;
After:
yield `foo`;
Reviewers: djasper
Subscribers: klimek
Differential Revision: https://reviews.llvm.org/D34938
llvm-svn: 307023
Diffstat (limited to 'clang/unittests')
| -rw-r--r-- | clang/unittests/Format/FormatTestJS.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index e84f470687e..db23902ef3e 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp @@ -1564,6 +1564,7 @@ TEST_F(FormatTestJS, TemplateStrings) { " aaaaa( //\n" " aaaaa)\n" " })`);"); + verifyFormat("yield `hello`;"); } TEST_F(FormatTestJS, TemplateStringMultiLineExpression) { |

