Skip to content

Commit c1b4d2d

Browse files
committed
[lldb] Replace use of p with expression in (Swift) shell tests
1 parent d3767c2 commit c1b4d2d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lldb/test/Shell/Swift/DeserializationFailure.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
b main
1616
run
1717
# Create a SwiftASTContext, to induce error output.
18-
p 1
18+
expression 1
1919

2020
# The {{ }} avoids accidentally matching the input script!
2121
# CHECK: a.out:{{ }}{{.*}}The serialized module is corrupted.

lldb/test/Shell/Swift/DynamicTyperesolutionConflict.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
b Dylib.swift:9
2222
run
2323
target v foofoo
24-
p input
25-
p input
24+
expression input
25+
expression input
2626

2727
# The {{ }} avoids accidentally matching the input script!
2828
# CHECK: {{Swift}} error in fallback scratch context

lldb/test/Shell/Swift/MissingVFSOverlay.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
b main
1313
run
1414
# Create a SwiftASTContext, to induce error output.
15-
p 1
15+
expression 1
1616

1717
# The {{ }} avoids accidentally matching the input script!
1818
# CHECK: a.out:{{ }}

lldb/test/Shell/Swift/RemoteASTImport.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
b Library.swift:10
4747
run
48-
p input
48+
expression input
4949

5050
# The {{ }} avoids accidentally matching the input script!
5151
# CHECK-NOT: undeclared identifier {{'SYNTAX_ERROR'}}

0 commit comments

Comments
 (0)