ligo/src/test/contracts/string_arithmetic.religo
2019-12-10 13:47:31 +00:00

8 lines
240 B
Plaintext

/* Test that the string concatenation syntax in ReasonLIGO works */
let size_op = (s: string): nat => String.size(s);
let slice_op = (s: string): string => String.slice(1n, 2n, s);
let concat_syntax = (s: string) => s ++ "test_literal";