Skip to content

Commit c66075c

Browse files
committed
more tests bc
1 parent d19574d commit c66075c

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

+stdlib/version_atleast.m

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99
% * r: logical
1010

1111
function r = version_atleast(in, ref)
12-
arguments
13-
in (1,1) string
14-
ref (1,1) string
15-
end
1612

17-
parts1 = str2double(split(in, "."));
18-
parts2 = str2double(split(ref, "."));
13+
in = string(in);
14+
ref = string(ref);
15+
16+
parts1 = str2double(split(in, '.'));
17+
parts2 = str2double(split(ref, '.'));
1918

2019
r = true;
2120

test/TestTime.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
methods(TestClassSetup)
1111
function test_path(tc)
12-
tc.applyFixture(matlab.unittest.fixtures.WorkingFolderFixture())
12+
tc.applyFixture(matlab.unittest.fixtures.WorkingFolderFixture());
1313
end
1414
end
1515

test/TestVersion.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
classdef (SharedTestFixtures={ matlab.unittest.fixtures.PathFixture(fileparts(fileparts(mfilename('fullpath'))))}, ...
2-
TestTags = {'R2019b', 'pure'}) ...
2+
TestTags = {'R2017b', 'pure'}) ...
33
TestVersion < matlab.unittest.TestCase
44

55
properties (TestParameter)

0 commit comments

Comments
 (0)