From: Martin Probst Date: Mon, 9 Jan 2017 09:00:58 +0000 (+0000) Subject: clang-format: [JS] fix broken test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08205c82400cd7f56180320867c2da7f7165187f;p=clang clang-format: [JS] fix broken test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291429 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Format/FormatTestJS.cpp b/unittests/Format/FormatTestJS.cpp index 12554a1dc2..230717fe47 100644 --- a/unittests/Format/FormatTestJS.cpp +++ b/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 { }");