]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/interpolate/interpolate-tests.factor
interpolate: adding interpolated string syntax I"hello, ${0}"
[factor.git] / basis / interpolate / interpolate-tests.factor
index 0d4a8d16d677e1410e2f9da6c2ed2614a5bb8fc7..771bd76cdb87134b3663083ed2f99c2fddffad8f 100644 (file)
@@ -42,3 +42,5 @@ USING: interpolate io.streams.string namespaces tools.test locals ;
         "accidentally" [ [I Oops, I ${0} the whole ${noun}...I] ] with-string-writer
     ]
 ] unit-test
+
+{ "hello, world" } [ "world" I"hello, ${0}" ] unit-test