Skip to content

Commit

Permalink
added tests for uppercase V prefix parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
olopierpa authored Jun 17, 2024
1 parent 7508446 commit 290c34c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mats/format.ms
Original file line number Diff line number Diff line change
Expand Up @@ -1461,8 +1461,10 @@

(mat format-slib17 ; variable parameter
(equal? (format "~va" 10 "abc") "abc ")
(equal? (format "~Va" 10 "abc") "abc ") ; Let's test uppercase V too.
; changed 42 to #\* below
(equal? (format "~v,,,va" 10 #\* "abc") "abc*******")
(equal? (format "~V,,,Va" 10 #\* "abc") "abc*******") ; Let's test uppercase V too.
)

(mat format-slib18 ; number of remaining arguments as parameter
Expand Down

0 comments on commit 290c34c

Please sign in to comment.