[Lldb-commits] [lldb] r146919 - /lldb/trunk/test/python_api/default-constructor/sb_error.py

Johnny Chen johnny.chen at apple.com
Mon Dec 19 14:56:47 PST 2011


Author: johnny
Date: Mon Dec 19 16:56:47 2011
New Revision: 146919

URL: http://llvm.org/viewvc/llvm-project?rev=146919&view=rev
Log:
Tes passing None to SetErrorString() and SetErrorStringWithFormat().

Modified:
    lldb/trunk/test/python_api/default-constructor/sb_error.py

Modified: lldb/trunk/test/python_api/default-constructor/sb_error.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/default-constructor/sb_error.py?rev=146919&r1=146918&r2=146919&view=diff
==============================================================================
--- lldb/trunk/test/python_api/default-constructor/sb_error.py (original)
+++ lldb/trunk/test/python_api/default-constructor/sb_error.py Mon Dec 19 16:56:47 2011
@@ -15,6 +15,8 @@
     obj.SetErrorToErrno()
     obj.SetErrorToGenericError()
     obj.SetErrorString("xyz")
+    obj.SetErrorString(None)
     obj.SetErrorStringWithFormat("%s!", "error")
+    obj.SetErrorStringWithFormat(None)
     obj.GetDescription(lldb.SBStream())
     obj.Clear()





More information about the lldb-commits mailing list