commit | 1feab0f95ea0202f95a555a86f5dd60db4a8a5c8 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Tue Jun 02 15:31:37 2015 +0000 |
committer | Daniel Jasper <djasper@google.com> | Tue Jun 02 15:31:37 2015 +0000 |
tree | 88879d8c065059459f7b63fc92661c52c6c511bb | |
parent | f85028359dd5a25deadc497de3c314612b1f404a [diff] [blame] |
clang-format: Don't try to detect C++ lambdas in other languages. llvm-svn: 238845
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index a18d35b..6550863 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp
@@ -266,6 +266,8 @@ " bbbbbbbbbbbbbbbbbbbbbbbbbbb,\n" " ccccccccccccccccccccccccccc\n" "]);"); + + verifyFormat("someFunction([], {a: a});"); } TEST_F(FormatTestJS, FunctionLiterals) {