Skip to content

Commit b3901ef

Browse files
committed
[lldb] Check for both Lua 5.3 and 5.4 error messages in the tests.
1 parent 98e50a7 commit b3901ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ run
1010
# CHECK: 123
1111
breakpoint command add -s lua
1212
789_nil
13-
# CHECK: unexpected symbol near '789'
13+
# CHECK: {{unexpected symbol near '789'|malformed number near '789_'}}

lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
33
b main
44
breakpoint command add -s lua -o '1234_foo'
5-
# CHECK: error: {{.*}} unexpected symbol near '1234'
5+
# CHECK: error: {{.*}} {{unexpected symbol near '1234'|malformed number near '1234_'}}

0 commit comments

Comments
 (0)