[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:
Pavel Labath 2019-12-23 11:05:32 +01:00
parent fecb122cca
commit 12a3d97cf6
1 changed files with 1 additions and 1 deletions

View File

@ -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