summary refs log tree commit diff
path: root/Test/B03print.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/B03print.ztst')
-rw-r--r--Test/B03print.ztst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst
index 2e9bf99e5..befe2f2dd 100644
--- a/Test/B03print.ztst
+++ b/Test/B03print.ztst
@@ -304,9 +304,9 @@
 
  unset foo
  print -v foo once more
- print -r -- $foo
- printf -v foo "%s-" into the breach
- print -r -- $foo
+ typeset -p foo
+ printf -v foo "%s\0%s-" into the breach
+ typeset -p foo
 0:print and printf into a variable
->once more
->into-the-breach-
+>typeset foo='once more'
+>typeset foo=$'into\C-@the-breach\C-@-'