forked from OSchip/llvm-project
[lldb/lua] Fix bindings.test for lua-5.1
string.format("%s", true) only works since lua-5.2. Make the print statement more portable.
This commit is contained in:
parent
fecb122cca
commit
12a3d97cf6
|
@ -2,5 +2,5 @@
|
|||
# RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s
|
||||
script
|
||||
debugger = lldb.SBDebugger.Create()
|
||||
print(string.format("debugger is valid: %s", debugger:IsValid()))
|
||||
print("debugger is valid:", tostring(debugger:IsValid()))
|
||||
# CHECK: debugger is valid: true
|
||||
|
|
Loading…
Reference in New Issue