diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/inputs/syntax.mp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/inputs/syntax.mp b/spec/inputs/syntax.mp index 1bb962f..c8ad96d 100644 --- a/spec/inputs/syntax.mp +++ b/spec/inputs/syntax.mp | |||
| @@ -82,6 +82,22 @@ something [[else]], 2 | |||
| 82 | 82 | ||
| 83 | _ = here(we)"go"[12123] | 83 | _ = here(we)"go"[12123] |
| 84 | 84 | ||
| 85 | split"abc xyz 123"\map"#"\printAll! | ||
| 86 | |||
| 87 | _ = f""[a] | ||
| 88 | _ = f""\b! | ||
| 89 | _ = f"".c! | ||
| 90 | |||
| 91 | f ""[a] | ||
| 92 | f ""\b! | ||
| 93 | f "".c! | ||
| 94 | |||
| 95 | list{"abc", "xyz", "123"}\map"#"\printAll! | ||
| 96 | |||
| 97 | _ = f{}[a] | ||
| 98 | _ = f{}\b! | ||
| 99 | _ = f{}.c! | ||
| 100 | |||
| 85 | -- this runs | 101 | -- this runs |
| 86 | something = | 102 | something = |
| 87 | test: 12323 | 103 | test: 12323 |
