changeset 29134:5f90526a9c40

load-save.cc: Fix typos in cdc2f3799c85.
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 02 Dec 2020 21:23:44 +0100
parents 0d8e5f890a9b
children 9560c8c374dc
files libinterp/corefcn/load-save.cc
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/load-save.cc	Wed Dec 02 14:59:26 2020 -0500
+++ b/libinterp/corefcn/load-save.cc	Wed Dec 02 21:23:44 2020 +0100
@@ -1870,7 +1870,7 @@
 %! struc.e = {"foo", "bar"};  # cell string
 %! struc.f = {"Saint Barthélemy", "Saint Kitts and Nevis"};  # non-ASCII
 %! struc.g = [1 2 3];  # double vector
-%! struc.e = 1:5;  # range
+%! struc.h = 1:5;  # range
 %! struc2 = struc;
 %! mat_file = [tempname(), ".mat"];
 %! unwind_protect
@@ -1883,7 +1883,7 @@
 %! assert (struc, struc2);
 
 ## Save and load struct with "-v7"
-%!test
+%!testif HAVE_ZLIB
 %! struc.a = "foobar";  # normal string
 %! struc.b = "a";  # short string
 %! struc.c = ["foo"; "bar"];  # character matrix
@@ -1891,7 +1891,7 @@
 %! struc.e = {"foo", "bar"};  # cell string
 %! struc.f = {"Saint Barthélemy", "Saint Kitts and Nevis"};  # non-ASCII
 %! struc.g = [1 2 3];  # double vector
-%! struc.e = 1:5;  # range
+%! struc.h = 1:5;  # range
 %! struc2 = struc;
 %! mat_file = [tempname(), ".mat"];
 %! unwind_protect