From e473811af18fd80df9da62d1e21ca3dfe21b429c Mon Sep 17 00:00:00 2001
From: BoolPurist <fnaumann@posteo.de>
Date: Tue, 21 Feb 2023 21:13:31 +0100
Subject: [PATCH] fix: removed/ignore tests/fn-root-vars.out as it created by
 run_example.sh every time.

---
 .gitignore             | 5 +++++
 tests/fn-root-vars.out | 4 ----
 2 files changed, 5 insertions(+), 4 deletions(-)
 delete mode 100644 tests/fn-root-vars.out

diff --git a/.gitignore b/.gitignore
index b1068495..81aebd52 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,8 @@ vendor/
 vendor.tar.xz
 /window-config.ion
 manual/builtins/
+
+# This file get recreated by the command "make tests" anyway
+# with home folder of the current user aka $HOME.
+# Without this line, there is a danger of contributors committing their home folder path accidentally.
+tests/fn-root-vars.out
diff --git a/tests/fn-root-vars.out b/tests/fn-root-vars.out
deleted file mode 100644
index bae0b7bb..00000000
--- a/tests/fn-root-vars.out
+++ /dev/null
@@ -1,4 +0,0 @@
-/home/adminxvii
-${x::1B}]0;${USER}: ${PWD}${x::07}${c::0x55,bold}${USER}${c::default}:${c::0x4B}${SWD}${c::default}# ${c::reset}
-1000
-
-- 
GitLab