mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
tests: fix some interpolation tests
This commit is contained in:
parent
604f19adba
commit
e1ffc76efd
3 changed files with 4 additions and 4 deletions
|
@ -71,9 +71,9 @@ const expected_string_outputs = [
|
|||
|
||||
fn test_find_between_pair_family() {
|
||||
assert strings.find_between_pair_rune('xx♡ok❦yy', `♡`, `❦`) == 'ok'
|
||||
assert strings.find_between_pair_u8('xx{ok}yy', `{`, `}`) == 'ok'
|
||||
assert strings.find_between_pair_u8('xx\{ok}yy', `{`, `}`) == 'ok'
|
||||
assert strings.find_between_pair_string('xx/*ok*/yy', '/*', '*/') == 'ok'
|
||||
assert strings.find_between_pair_u8('xx{ok}yy', `{`, `}`) == 'ok'
|
||||
assert strings.find_between_pair_u8('xx\{ok}yy', `{`, `}`) == 'ok'
|
||||
assert strings.find_between_pair_string('xxxxokyyyy', 'xxx', 'yyy') == 'xok'
|
||||
|
||||
for i, tstr in test_rune_and_byte {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue