diff options
| author | hjk <hjk@qt.io> | 2025-04-14 09:29:10 +0200 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2025-04-14 13:06:26 +0000 |
| commit | a51a334941961df687ed43f4083658a7b1b4b83f (patch) | |
| tree | 3063ef317de882a5feb0de1d094c1fcceed11604 /src/plugins/lua/luaengine.cpp | |
| parent | 4d643d45f3de8575004efcb9e9fdb182d61fda85 (diff) | |
Utils: Move and rename result testing macros from expected.h to result.h
Change-Id: I65d682054d4774b8937ecce9728a9d2f2e75cc2a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/plugins/lua/luaengine.cpp')
| -rw-r--r-- | src/plugins/lua/luaengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/luaengine.cpp b/src/plugins/lua/luaengine.cpp index 6eea730c7b1..3b19fcf518c 100644 --- a/src/plugins/lua/luaengine.cpp +++ b/src/plugins/lua/luaengine.cpp @@ -141,7 +141,7 @@ void prepareLuaState( } }; const Result<FilePath> tmpDir = HostOsInfo::root().tmpDir(); - QTC_ASSERT_EXPECTED(tmpDir, return); + QTC_ASSERT_RESULT(tmpDir, return); QString id = name; static const QRegularExpression regexp("[^a-zA-Z0-9_]"); id = id.replace(regexp, "_").toLower(); |
