Skip to content

Commit 40bb3ca

Browse files
authored
-- Revert git changes from unit test changes in data files after test runs to completion (#160)
-- Revert git changes from unit test changes in data files after test runs to completion
1 parent a86ccec commit 40bb3ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UnitTests/UnitTests_Init.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ function UnitTests_Init(standalone, start, appname)
5757
pname = filesepStandard([rootpath, groupFolders{ii}]);
5858
logger.Write('Deleting *.snirf files in %s: \n', pname);
5959
DeleteDataFiles(pname, '.snirf');
60+
logger.Write('Rolling back GIT changes in %s\n', pname);
61+
gitRevert(pname);
6062
end
6163
logger.Write('\n\n');
6264
end

0 commit comments

Comments
 (0)