diff options
| author | Martin Probst <martin@probst.io> | 2017-01-09 09:00:58 +0000 |
|---|---|---|
| committer | Martin Probst <martin@probst.io> | 2017-01-09 09:00:58 +0000 |
| commit | fd18ec5885d309f213814d3488c1c365bdef3c5e (patch) | |
| tree | 4d3dee4e6e26773b52383dfa26899c4dd5449125 | |
| parent | d40bca431dfab7deae906fae9eea72dbdd81de2c (diff) | |
| download | bcm5719-llvm-fd18ec5885d309f213814d3488c1c365bdef3c5e.tar.gz bcm5719-llvm-fd18ec5885d309f213814d3488c1c365bdef3c5e.zip | |
clang-format: [JS] fix broken test.
llvm-svn: 291429
| -rw-r--r-- | clang/unittests/Format/FormatTestJS.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/unittests/Format/FormatTestJS.cpp b/clang/unittests/Format/FormatTestJS.cpp index 12554a1dc23..230717fe47c 100644 --- a/clang/unittests/Format/FormatTestJS.cpp +++ b/clang/unittests/Format/FormatTestJS.cpp @@ -859,7 +859,9 @@ TEST_F(FormatTestJS, AutomaticSemicolonInsertionHeuristic) { "a = null\n" " return 1"); verifyFormat( - "x = {a: 1}\n" + "x = {\n" + " a: 1\n" + "}\n" "class Y {}", " x = {a : 1}\n" " class Y { }"); |

