Merge branch 'master' into arrays
[jscl.git] / tests / format.lisp
index 73c69bd..3491010 100644 (file)
@@ -4,4 +4,9 @@
 
 (test (string= "a~a" (format nil "a~~a")))
 
-(test (string= "a\na" (format nil "a~%a")))
+(test (string= "a
+a" (format nil "a~%a")))
+
+(test (string= "this is foo" (format nil "this is ~a" "foo")))
+
+(test (string= "this is \"foo\"" (format nil "this is ~S" "foo")))