commit | 166c19bd373ca6fcdce897a6a540c610434c7171 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Tue May 06 14:12:21 2014 +0000 |
committer | Daniel Jasper <djasper@google.com> | Tue May 06 14:12:21 2014 +0000 |
tree | 53e75cb2f353e00ed10376840e508bae8d70b51a | |
parent | aa44aaee90dda304dab4024f9cc8fd7489dfcbea [diff] [blame] |
clang-format: [JS] Keep space between 'return' and '['. llvm-svn: 208090
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index 4e89086..153b075 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp
@@ -98,5 +98,9 @@ "}); // goog.scope"); } +TEST_F(FormatTestJS, ReturnStatements) { + verifyFormat("function() { return [hello, world]; }"); +} + } // end namespace tooling } // end namespace clang