mirror of
https://github.com/sagiegurari/duckscript
synced 2024-10-14 11:53:05 +00:00
10 lines
175 B
Plaintext
10 lines
175 B
Plaintext
|
|
fn test_binary_string
|
|
handle = string_to_bytes "hello world"
|
|
text = bytes_to_string ${handle}
|
|
|
|
release ${handle}
|
|
|
|
assert_eq ${text} "hello world"
|
|
end
|