diff --git a/matlab/tests/check_mds.m b/matlab/tests/check_mds.m
index c239ea011812db9edc029e44e81bec822cd6e765..0e3eb0b54445aae71615e02f222c470831ffed3b 100644
--- a/matlab/tests/check_mds.m
+++ b/matlab/tests/check_mds.m
@@ -1,7 +1,7 @@
 classdef check_mds < matlab.unittest.fixtures.Fixture
   methods
     function setup(fixture)
-      fixture.assumeFalse(~exist('mdsconnect','file'),'mdsdata not found - is mds on path?');
+      fixture.assumeFalse(~exist('mdsconnect','file'),'mdsconnect not found - is mds on path?');
       % other environment checks here
     end
   end