Commits

Anonymous committed 6e0c4bd

Added another test.

  • Participants
  • Parent commits 96dce83

Comments (0)

Files changed (1)

File modules/Text-Sprintf-Named/t/01-use.t

 use strict;
 use warnings;
 
-use Test::More tests => 10;
+use Test::More tests => 11;
 
 use Text::Sprintf::Named;
 
         "Testing a %(name)10s conversion"
     );
 }
+
+{
+    # TEST
+    is (n_s("1.57 + 2.32 = %(result)5.2f", { result => 3.98 }),
+        "1.57 + 2.32 =  3.98",
+        "Testing a %(name)5.2f conversion"
+    );
+}