From a2605c4254ece8353149a5bf5a93fee74486f5e5 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 28 Dec 2019 11:23:09 +0100 Subject: [PATCH] Fix test cases --- .config/shell/login.d/env-vars.sh | 4 ++-- .config/shell/login.d/test/env-wiki-root.bats | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/shell/login.d/env-vars.sh b/.config/shell/login.d/env-vars.sh index a4421c9..a92fe1b 100644 --- a/.config/shell/login.d/env-vars.sh +++ b/.config/shell/login.d/env-vars.sh @@ -3,8 +3,8 @@ # important directories # will be picked up by vim wiki plugin as root directory -export WIKIROOT="${WIKIROOT:-$HOME/documents/notes/}" -export LIBRARYROOT="${LIBRARYROOT:-$HOME/documents/library/}" +export WIKIROOT="${WIKIROOT:-$HOME/documents/notes}" +export LIBRARYROOT="${LIBRARYROOT:-$HOME/documents/library}" export BIBFILE="${BIBFILE:-$LIBRARYROOT/academia/academia.bib}" # these are my personal 'important' environment settings diff --git a/.config/shell/login.d/test/env-wiki-root.bats b/.config/shell/login.d/test/env-wiki-root.bats index 0a39821..e6df11b 100644 --- a/.config/shell/login.d/test/env-wiki-root.bats +++ b/.config/shell/login.d/test/env-wiki-root.bats @@ -1,5 +1,5 @@ # FIXME why is one saved with trailing "/" , the other not? -DEFAULT_NOTES="$HOME/documents/notes/" +DEFAULT_NOTES="$HOME/documents/notes" DEFAULT_LIB="$HOME/documents/library" DEFAULT_BIB="$DEFAULT_LIB/academia/academia.bib"