From b7c044d4f37b1f1a39d20a832e9ca0904e211a50 Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Thu, 11 Feb 2021 11:34:20 -0800 Subject: [PATCH] Add markers test for PWD --- tests/_tide_item_pwd.test.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/_tide_item_pwd.test.fish b/tests/_tide_item_pwd.test.fish index 70a459e..e21d7db 100644 --- a/tests/_tide_item_pwd.test.fish +++ b/tests/_tide_item_pwd.test.fish @@ -43,5 +43,10 @@ _pwd "$longDir" # CHECK: ~/a/b/c/d/e/f/g/hotel/inda/juliett/kilo/lima/mike/novem # Truncate to unique mkdir -p ~/alfa/bratwurst _pwd "$longDir" # CHECK: ~/a/brav/c/d/e/f/g/h/inda/juliett/kilo/lima/mike/november/oscar/papa +rm -r ~/alfa/bratwurst + +# Markers +mkdir -p ~/alfa/.git +_pwd "$longDir" # CHECK: ~/a/bravo/c/d/e/f/g/h/inda/juliett/kilo/lima/mike/november/oscar/papa rm -r ~/alfa