From c5c0247d987766b678d63b395cfeeef80e58359e Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Mon, 19 Dec 2011 22:56:47 +0000 Subject: Tes passing None to SetErrorString() and SetErrorStringWithFormat(). llvm-svn: 146919 --- lldb/test/python_api/default-constructor/sb_error.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/test/python_api/default-constructor/sb_error.py') diff --git a/lldb/test/python_api/default-constructor/sb_error.py b/lldb/test/python_api/default-constructor/sb_error.py index c160f6e39bd..617fab3e61e 100644 --- a/lldb/test/python_api/default-constructor/sb_error.py +++ b/lldb/test/python_api/default-constructor/sb_error.py @@ -15,6 +15,8 @@ def fuzz_obj(obj): obj.SetErrorToErrno() obj.SetErrorToGenericError() obj.SetErrorString("xyz") + obj.SetErrorString(None) obj.SetErrorStringWithFormat("%s!", "error") + obj.SetErrorStringWithFormat(None) obj.GetDescription(lldb.SBStream()) obj.Clear() -- cgit v1.2.3