Skip to content

Commit

Permalink
Fix: test_install
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
beddalumia committed Aug 19, 2022
1 parent 65dcea8 commit 6e330b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .test/test_install.m
Original file line number Diff line number Diff line change
Expand Up @@ -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('------------')
Expand Down

0 comments on commit 6e330b8

Please sign in to comment.