[lldb] Check for both Lua 5.3 and 5.4 error messages in the tests.

This commit is contained in:
Jonas Devlieghere 2021-02-03 13:45:54 -08:00
parent 98e50a7d4c
commit b3901ef09c
2 changed files with 2 additions and 2 deletions

View File

@ -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_'}}

View File

@ -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_'}}