ligo/src/test/contracts/string_arithmetic.religo

8 lines
240 B
Plaintext
Raw Normal View History

2019-12-10 17:47:31 +04:00
/* 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";