feature: console entry can be clicked to open script file (#10484) b555c57747 * feature: console entry can be clicked to open script file * chore: missed files * fix: mixed file * fix: failing tests Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
diff --git a/.rive_head b/.rive_head index 820cba5..04c276a 100644 --- a/.rive_head +++ b/.rive_head
@@ -1 +1 @@ -5e6f683b9e3c3376975a009eaf1cb0af6f9c2b37 +b555c57747b50c47b02819206816f8dda2df3b57
diff --git a/scripting/premake5.lua b/scripting/premake5.lua index 8e979ec..863d6ca 100755 --- a/scripting/premake5.lua +++ b/scripting/premake5.lua
@@ -1,5 +1,5 @@ local dependency = require('dependency') -local luau = dependency.github('luigi-rosso/luau', 'rive_0_14') +local luau = dependency.github('luigi-rosso/luau', 'rive_0_15') dofile('rive_build_config.lua')
diff --git a/tests/unit_tests/runtime/scripting/scripting_renderer_test.cpp b/tests/unit_tests/runtime/scripting/scripting_renderer_test.cpp index 8a84c5c..548b6bf 100644 --- a/tests/unit_tests/runtime/scripting/scripting_renderer_test.cpp +++ b/tests/unit_tests/runtime/scripting/scripting_renderer_test.cpp
@@ -29,8 +29,7 @@ lua_getglobal(L, "afterwards"); CHECK(lua_pcall(L, 0, 0, 0) == LUA_ERRRUN); CHECK(lua_tostring(L, -1) == - std::string( - "[string \"test_source\"]:9: Renderer is no longer valid.")); + std::string("test_source:9: Renderer is no longer valid.")); } TEST_CASE("renderer checks its balanced", "[scripting]")
diff --git a/tests/unit_tests/runtime/scripting/scripting_require_check.cpp b/tests/unit_tests/runtime/scripting/scripting_require_check.cpp index e94bb61..7cead1d 100644 --- a/tests/unit_tests/runtime/scripting/scripting_require_check.cpp +++ b/tests/unit_tests/runtime/scripting/scripting_require_check.cpp
@@ -30,7 +30,7 @@ {"utilities", "return { 'name' = 'hello' }"}, }); auto error = lua_tostring(vm.state(), -1); - CHECK(error == std::string("[string \"test_source\"]:1: require could " + CHECK(error == std::string("test_source:1: require could " "not find a script named utilities")); } @@ -62,6 +62,6 @@ vm.unregisterModule("utilities"); vm.execute(); auto result = lua_tostring(vm.state(), -1); - CHECK(result == std::string("[string \"test_source\"]:1: require could not " + CHECK(result == std::string("test_source:1: require could not " "find a script named utilities")); } \ No newline at end of file