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 | 71d3b5cd916106005ef23467e3f6c7fbca7bc499 (patch) | |
tree | fd8b90b7ad407a7248ecece059e8183fdaa4c5a9 /unittests | |
parent | 0305311a4e50b9a1d54a9a1d050d93754f26f9cf (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Format/FormatTestJS.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/Format/FormatTestJS.cpp b/unittests/Format/FormatTestJS.cpp index e84f470687..db23902ef3 100644 --- a/unittests/Format/FormatTestJS.cpp +++ b/unittests/Format/FormatTestJS.cpp @@ -1564,6 +1564,7 @@ TEST_F(FormatTestJS, TemplateStrings) { " aaaaa( //\n" " aaaaa)\n" " })`);"); + verifyFormat("yield `hello`;"); } TEST_F(FormatTestJS, TemplateStringMultiLineExpression) { |