File tree 1 file changed +4
-2
lines changed
lldb/test/API/lang/c/enum_types 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ def test_command_line(self):
26
26
self .expect ("fr var b" , DATA_TYPES_DISPLAYED_CORRECTLY , patterns = [" = B$" ])
27
27
self .expect ("fr var c" , DATA_TYPES_DISPLAYED_CORRECTLY , patterns = [" = C$" ])
28
28
self .expect ("fr var ab" , DATA_TYPES_DISPLAYED_CORRECTLY , patterns = [" = AB$" ])
29
- self .expect ("fr var ac" , DATA_TYPES_DISPLAYED_CORRECTLY , patterns = [" = A | C$" ])
29
+ self .expect (
30
+ "fr var ac" , DATA_TYPES_DISPLAYED_CORRECTLY , patterns = [" = A \| C$" ]
31
+ )
30
32
self .expect ("fr var all" , DATA_TYPES_DISPLAYED_CORRECTLY , patterns = [" = ALL$" ])
31
33
# Test that an enum that doesn't match the heuristic we use in
32
34
# TypeSystemClang::DumpEnumValue, gets printed as a raw integer.
@@ -37,7 +39,7 @@ def test_command_line(self):
37
39
self .expect (
38
40
"expression (enum bitfield)nonsense" ,
39
41
DATA_TYPES_DISPLAYED_CORRECTLY ,
40
- patterns = [" = B | C | 0x10$" ],
42
+ patterns = [" = B \ | C \ | 0x10$" ],
41
43
)
42
44
43
45
# Break inside the main.
You can’t perform that action at this time.
0 commit comments