aboutsummaryrefslogtreecommitdiffstats
path: root/commands/testdata/.keep-me
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-12-22 15:51:14 +0100
committerRobin Jarry <robin@jarry.cc>2024-01-17 11:52:57 +0100
commit765761c5bf49799e7d74535b9727062c869fc358 (patch)
treed0a381d24165e20194bd90085e13c7ca8083a404 /commands/testdata/.keep-me
parent4239f0d80204a2d1f7a2475adfd62b39cd86d075 (diff)
downloadaerc-765761c5bf49799e7d74535b9727062c869fc358.tar.gz
commands: simplify CompletePath
This function is overly complex, has code duplication and is not preserving user input (converting all paths to absolute paths). Simplify it and avoid converting relative paths to absolute ones. Add unit tests to ensure it works as expected. Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'commands/testdata/.keep-me')
-rw-r--r--commands/testdata/.keep-me1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/testdata/.keep-me b/commands/testdata/.keep-me
new file mode 100644
index 00000000..b35a57ea
--- /dev/null
+++ b/commands/testdata/.keep-me
@@ -0,0 +1 @@
+This file is used by unit tests