[lldb] Check for both Lua 5.3 and 5.4 error messages in the tests.
This commit is contained in:
parent
98e50a7d4c
commit
b3901ef09c
|
|
@ -10,4 +10,4 @@ run
|
||||||
# CHECK: 123
|
# CHECK: 123
|
||||||
breakpoint command add -s lua
|
breakpoint command add -s lua
|
||||||
789_nil
|
789_nil
|
||||||
# CHECK: unexpected symbol near '789'
|
# CHECK: {{unexpected symbol near '789'|malformed number near '789_'}}
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
# RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
|
# RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
|
||||||
b main
|
b main
|
||||||
breakpoint command add -s lua -o '1234_foo'
|
breakpoint command add -s lua -o '1234_foo'
|
||||||
# CHECK: error: {{.*}} unexpected symbol near '1234'
|
# CHECK: error: {{.*}} {{unexpected symbol near '1234'|malformed number near '1234_'}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue