File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
lldb/test/API/commands/expression/diagnostics Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,16 @@ def check_error(diags):
218218 # Detail 1/3: note: requested expression language
219219 diag = details .GetItemAtIndex (0 )
220220 self .assertEqual (str (diag .GetValueForKey ("severity" )), "note" )
221+ self .assertEqual (
222+ str (diag .GetValueForKey ("message" )), "Ran expression as 'C++11'."
223+ )
224+ self .assertEqual (
225+ str (diag .GetValueForKey ("rendered" )), "Ran expression as 'C++11'."
226+ )
227+ self .assertEqual (str (diag .GetValueForKey ("source_location" )), "" )
228+ self .assertEqual (str (diag .GetValueForKey ("file" )), "" )
229+ self .assertFalse (diag .GetValueForKey ("hidden" ).GetBooleanValue ())
230+ self .assertFalse (diag .GetValueForKey ("in_user_input" ).GetBooleanValue ())
221231
222232 # Detail 2/3: undeclared 'a'
223233 diag = details .GetItemAtIndex (1 )
You can’t perform that action at this time.
0 commit comments