From ecbfecb9e052974d6dde629b704db3485e8ae7df Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 16 Aug 2001 00:29:29 +0000 Subject: Add a test for Unicode sprintf. p4raw-id: //depot/perl@11687 --- t/op/misc.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/op/misc.t b/t/op/misc.t index 38690305cf..e7f1623a28 100755 --- a/t/op/misc.t +++ b/t/op/misc.t @@ -724,5 +724,10 @@ sub DESTROY { EXPECT Bar=ARRAY(0x...) ######## +printf "%x %x", unpack "U*", sprintf "\x{1234}%s", "\x{5678}" +EXPECT +1234 5678 +######## +# keep this last - doesn't seem to work otherwise? eval "a.b.c.d.e.f;sub" EXPECT -- cgit v1.2.1