commit | e62620021c734140de6f3d3fe81a66c3ee578e93 | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Sun Feb 10 20:39:05 2013 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Sun Feb 10 20:39:05 2013 +0000 |
tree | 33338345f963ed6784cfa5d468ed8796b2120bad | |
parent | d74fcdb630dad817f5d462edd6d12bb95e3f27f1 [diff] [blame] |
Formatter: Add another ObjC literal test. (From http://clang.llvm.org/docs/ObjectiveCLiterals.html.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174841 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index 6d434ca..3760a3b 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp
@@ -2559,6 +2559,8 @@ verifyFormat("NSLog(@\"%@\", @{ @1 : @2, @2 : @3 }[@1]);"); verifyFormat( "NSDictionary *masses = @{ @\"H\" : @1.0078, @\"He\" : @4.0026 };"); + verifyFormat( + "NSDictionary *settings = @{ AVEncoderKey : @(AVAudioQualityMax) };"); // FIXME: Nested and multi-line array and dictionary literals need more work. }