changeset 28925:a42d6e376da7

rotate.m: Fix expected error message in BIST.
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 14 Oct 2020 16:05:38 +0200
parents 975333a621c1
children a53d887b24a1
files scripts/plot/util/rotate.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/rotate.m	Tue Oct 13 23:55:49 2020 -0700
+++ b/scripts/plot/util/rotate.m	Wed Oct 14 16:05:38 2020 +0200
@@ -186,7 +186,7 @@
 %!error <Invalid call> rotate (o1)
 %!error <Invalid call> rotate (o1, [0,0,0])
 %!error <all handles must be children of the same axes object> rotate ([o1, o2], [0,0,0], 90)
-%!error <invalid direction> rotate (o1, "foo", 90)
+%!error <invalid DIRECTION> rotate (o1, "foo", 90)
 %!error <invalid rotation angle> rotate (o1, [0,0,0], "foo")
 %!error <invalid ORIGIN> rotate (o1, [0,0,0], 90, "foo")
 %!error rotate (o1, [0,0,0], 90, [0,0,0], 1)