Author: enrico
Date: Tue Sep 22 18:08:13 2015
New Revision: 248339
URL: http://llvm.org/viewvc/llvm-project?rev=248339&view=rev
Log:
Fix a test case which was failing. There was no actual problem in the test
logic, just a cosmetic issue with the presentation of the result by Foundation
Modified:
lldb/trunk/test/lang/objc/foundation/TestObjCMethods2.py
Modified: lldb/trunk/test/lang/objc/foundation/TestObjCMethods2.py
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/foundation/TestObjCMethods2.py?rev=248339&r1=248338&r2=248339&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/foundation/TestObjCMethods2.py (original)
+++ lldb/trunk/test/lang/objc/foundation/TestObjCMethods2.py Tue Sep 22
18:08:13 2015
@@ -212,7 +212,7 @@ class FoundationTestCase2(TestBase):
self.runCmd("run", RUN_SUCCEEDED)
- self.expect("po [NSError errorWithDomain:@\"Hello\" code:35
userInfo:nil]",
+ self.expect('po [NSError errorWithDomain:@"Hello" code:35
userInfo:@{@"NSDescription" : @"be completed."}]',
substrs = ["Error Domain=Hello", "Code=35", "be completed."])
self.runCmd("process continue")
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits