From 6e330b820fac464cb10f18c2c1f4a925410e5d3f Mon Sep 17 00:00:00 2001 From: Gabriele Bellomia Date: Sat, 20 Aug 2022 01:22:38 +0200 Subject: [PATCH] Fix: `test_install` We need to backup the path before running colorlab.leave, otherwise any subsequent test will fail: colorlab.leave removes the source folder from the path. --- .test/test_install.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.test/test_install.m b/.test/test_install.m index b0d13ea..8d01efb 100644 --- a/.test/test_install.m +++ b/.test/test_install.m @@ -6,7 +6,9 @@ function install() colorlab.vista colorlab.enter + backup_path = path(); colorlab.leave + addpath(backup_path); % To avoid disrupting subsequent tests... disp('>> All good!') disp('------------')