Files
jak-project/test/old_goal_tests/tests/test-new-string.gc
T
2020-08-22 22:32:18 -04:00

7 lines
209 B
Plaintext

(test-setup "alligator" #f)
(let ((new-string (new 'global 'string 17 "alligator")))
(expect-true (= 17 (-> new-string allocated-length)))
(expect-true (= 9 (length new-string)))
(printl new-string)
)