Mercurial > octave
changeset 26651:3c12145ed96b
* classdef.tst: Clear shared variables after use.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 26 Jan 2019 14:41:44 +0000 |
parents | 39c2c387caba |
children | 41e2de681481 |
files | test/classdef/classdef.tst |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/classdef/classdef.tst Sat Jan 26 14:41:16 2019 +0000 +++ b/test/classdef/classdef.tst Sat Jan 26 14:41:44 2019 +0000 @@ -54,6 +54,7 @@ %! assert (methods (p), {'amount'; 'foo_value_class'}); %!assert (isempty (foo_value_class().rate)) %!error <property `rate' is not constant> foo_value_class.rate +%!shared # clear all shared variables for remainder of tests %% Static method and Constant Property %!assert (foo_static_method_constant_property.radians_per_cycle, 2*pi)