changeset 9150:e716cafee800

Add tests for concatenation of strings with all-zero matrices
author Thomas Weber <thomas.weber.mail@gmail.com>
date Thu, 23 Apr 2009 08:25:06 +0200
parents 7120fbbecf97
children d8f9588c6ba1
files test/test_string.m
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/test_string.m	Wed Apr 22 17:26:31 2009 -0400
+++ b/test/test_string.m	Thu Apr 23 08:25:06 2009 +0200
@@ -448,3 +448,7 @@
 %% test/octave.test/string/isxdigit-3.m
 %!error isxdigit ();
 
+%% test concatenation with all zero matrices
+%!assert([ '' 65*ones(1,10) ], 'AAAAAAAAAA');
+%!assert([ 65*ones(1,10) '' ], 'AAAAAAAAAA');
+