Skip to content

Commit 449dc6e

Browse files
committed
mirror new expect test cases using expression
1 parent 3812de8 commit 449dc6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/test/API/lang/swift/optionset/main.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ func main() {
4141
//%self.expect('expression user_option', substrs=['rawValue = 123456'])
4242
//%self.expect('frame variable sdk_option_single_valued', substrs=['.insertionIndex'])
4343
//%self.expect('frame variable sdk_option_single_valued', matching=False, substrs=['['])
44+
//%self.expect('expression sdk_option_single_valued', substrs=['.insertionIndex'])
45+
//%self.expect('expression sdk_option_single_valued', matching=False, substrs=['['])
4446
//%self.expect('frame variable sdk_option_exhaustive', substrs=['[.firstEqual, .insertionIndex]'])
4547
//%self.expect('expression sdk_option_exhaustive', substrs=['[.firstEqual, .insertionIndex]'])
4648
//%self.expect('frame variable sdk_option_nonexhaustive', substrs=['[.firstEqual, 0x1]'])

0 commit comments

Comments
 (0)