From 2c4ff5240bf298fec07749f5984de2f08b8736ec Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 20 Feb 2024 13:43:44 -0300 Subject: fix: better normalization for paths and slashes Fixes #1195. --- spec/quick/config.q | 4 ++-- spec/quick/list.q | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/quick') diff --git a/spec/quick/config.q b/spec/quick/config.q index ec338f98..3150a9ce 100644 --- a/spec/quick/config.q +++ b/spec/quick/config.q @@ -12,6 +12,6 @@ RUN: luarocks config --system-config STDOUT: -------------------------------------------------------------------------------- -%{testing_lrprefix}/etc/luarocks/config-%{LUA_VERSION}.lua +%{path(%{testing_lrprefix}/etc/luarocks/config-%{LUA_VERSION}.lua)} -------------------------------------------------------------------------------- -#TODO: ^^^ %{path()} + diff --git a/spec/quick/list.q b/spec/quick/list.q index 7cbdee43..fbb3f557 100644 --- a/spec/quick/list.q +++ b/spec/quick/list.q @@ -5,6 +5,6 @@ RUN: luarocks --tree=%{path(/some/invalid/tree)} list STDOUT: -------------------------------------------------------------------------------- -Rocks installed for Lua %{lua_version} in /some/invalid/tree +Rocks installed for Lua %{lua_version} in %{path(/some/invalid/tree)} -------------------------------------------------------------------------------- -#TODO: ^^^ %{path()} + -- cgit v1.2.3-55-g6feb