Add truncate to unique test

This commit is contained in:
Ilan Cosman 2021-02-11 11:32:06 -08:00
parent bc4e51a9a0
commit c2ba6ead2f

View File

@ -38,7 +38,10 @@ rm -rf ~/normal
set -l longDir ~/alfa/bravo/charlie/delta/echo/foxtrot/golf/hotel/inda/juliett/kilo/lima/mike/november/oscar/papa set -l longDir ~/alfa/bravo/charlie/delta/echo/foxtrot/golf/hotel/inda/juliett/kilo/lima/mike/november/oscar/papa
mkdir -p $longDir mkdir -p $longDir
_pwd "$longDir" # CHECK: ~/a/b/c/d/e/f/g/hotel/inda/juliett/kilo/lima/mike/november/oscar/papa _pwd "$longDir" # CHECK: ~/a/b/c/d/e/f/g/hotel/inda/juliett/kilo/lima/mike/november/oscar/papa
# 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 rm -r ~/alfa