diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-12-19 22:56:47 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-12-19 22:56:47 +0000 |
| commit | c5c0247d987766b678d63b395cfeeef80e58359e (patch) | |
| tree | 8330995b0e8066740610eafb915a02e093526a29 | |
| parent | f9aca2089e4322417be1523f720c25c43a620490 (diff) | |
| download | bcm5719-llvm-c5c0247d987766b678d63b395cfeeef80e58359e.tar.gz bcm5719-llvm-c5c0247d987766b678d63b395cfeeef80e58359e.zip | |
Tes passing None to SetErrorString() and SetErrorStringWithFormat().
llvm-svn: 146919
| -rw-r--r-- | lldb/test/python_api/default-constructor/sb_error.py | 2 |
1 files changed, 2 insertions, 0 deletions
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() |

