From 93a833f2cc70a29da15ef8e50333aa5719decb2c Mon Sep 17 00:00:00 2001 From: Federico Felici <federico.felici@epfl.ch> Date: Thu, 9 Jan 2020 14:43:46 +0100 Subject: [PATCH] Prevent asking to save by closing everything.. --- tests/test_expcodes.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_expcodes.m b/tests/test_expcodes.m index a0cfdc0..6d9930a 100644 --- a/tests/test_expcodes.m +++ b/tests/test_expcodes.m @@ -15,6 +15,8 @@ classdef test_expcodes < matlab.unittest.TestCase testCase.addTeardown(@cd,pwd); testCase.addTeardown(@path,path); + testCase.addTeardown(@() SCDclass_expcode.close_all(0)) + basePath = fullfile(fileparts(mfilename('fullpath')),'..'); run(fullfile(basePath,'rtccode_paths')); -- GitLab