comparison libinterp/corefcn/file-io.cc @ 28185:493d46a02edc

test: Add %!xtest for bug #50743 so it is not forgotten (bug #50743). * file-io.cc (Ftextscan): Add %!xtest for bug #50743 which checks '%u64' format.
author Rik <rik@octave.org>
date Sun, 29 Mar 2020 12:59:33 -0700
parents c805c1b541fa
children ebff357efd56
comparison
equal deleted inserted replaced
28184:c805c1b541fa 28185:493d46a02edc
2318 2318
2319 %!test <*51093> 2319 %!test <*51093>
2320 %! str = sprintf ('a\t\tb\tc'); 2320 %! str = sprintf ('a\t\tb\tc');
2321 %! C = textscan (str, '%s', 'Delimiter', '\t', 'MultipleDelimsAsOne', false); 2321 %! C = textscan (str, '%s', 'Delimiter', '\t', 'MultipleDelimsAsOne', false);
2322 %! assert (C{1}, {'a'; ''; 'b'; 'c'}); 2322 %! assert (C{1}, {'a'; ''; 'b'; 'c'});
2323
2324 %!xtest <50743>
2325 %! C = textscan ('5973459727478852968', '%u64');
2326 %! assert (C{1}, uint64 (5973459727478852968));
2323 2327
2324 */ 2328 */
2325 2329
2326 // These tests have end-comment sequences, so can't just be in a comment 2330 // These tests have end-comment sequences, so can't just be in a comment
2327 #if 0 2331 #if 0