From 866a3dc11f068327c4a773314451972d9b9f6218 Mon Sep 17 00:00:00 2001 From: Eduard Kerkhoven Date: Thu, 17 Oct 2024 23:33:22 +0200 Subject: [PATCH] fix: importExportTests less strict filesize test --- doc/testing/unit_tests/importExportTests.html | 2 +- testing/unit_tests/importExportTests.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/testing/unit_tests/importExportTests.html b/doc/testing/unit_tests/importExportTests.html index 9e9df366..646f4374 100644 --- a/doc/testing/unit_tests/importExportTests.html +++ b/doc/testing/unit_tests/importExportTests.html @@ -115,7 +115,7 @@

SOURCE CODE ^%sized. 0069 s = dir(fullfile(sourceDir,'testing','unit_tests','test_data','_test.yml')); 0070 filesize = s.bytes; -0071 verifyTrue(testCase,filesize>1350); +0071 verifyTrue(testCase,filesize>1300); 0072 delete(fullfile(sourceDir,'testing','unit_tests','test_data','_test.yml')); 0073 end
Generated by m2html © 2005
diff --git a/testing/unit_tests/importExportTests.m b/testing/unit_tests/importExportTests.m index 92165374..67305d91 100755 --- a/testing/unit_tests/importExportTests.m +++ b/testing/unit_tests/importExportTests.m @@ -68,6 +68,6 @@ function testYAMLexport(testCase) %sized. s = dir(fullfile(sourceDir,'testing','unit_tests','test_data','_test.yml')); filesize = s.bytes; -verifyTrue(testCase,filesize>1350); +verifyTrue(testCase,filesize>1300); delete(fullfile(sourceDir,'testing','unit_tests','test_data','_test.yml')); end \ No newline at end of file