view test/bug-56068/bug-56068.tst @ 31214:19bd1953fc1d stable

GitHub-CI: Remove ubuntu-18.04 runners from build matrix. * .github/workflow/make.yaml (ubuntu): GitHub-hosted runners for ubuntu-18.04 are being deprecated. Remove them from build matrix. See also: https://github.com/actions/runner-images/issues/6002
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 30 Aug 2022 11:16:27 +0200
parents 9080316864bf
children
line wrap: on
line source

%!test <*56068>
%! res = textscan (evalc ("bug_56068"), "%s", "delimiter", "\n");
%! f_cell = textscan (fileread ("bug_56068.m"), "%s", "delimiter", "\n");
%! f_echo = cellfun (@(x) sprintf ([PS4 "%s"], x), ...
%!                   f_cell{1}([2,3,4,5,8,9,10,11]), ...
%!                   "uniformoutput", false);
%!
%! assert (numel (res{1}), 15);
%! assert (all (strcmp (res{1}([2,3,5,7,10,11,13,15]), f_echo)));