diff options
| author | Marc Vertes <marc.vertes@tendermint.com> | 2023-08-24 09:31:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-24 09:31:14 +0200 |
| commit | c83cdc374f8d50189c2da3460a6db94a4527c1fc (patch) | |
| tree | 1499aa126f74564062d9a495a22956bfa3edad72 /vm1/vm_test.go | |
| parent | 947873b34aabe46dfb9f8d06214736cb11b5a6b2 (diff) | |
scanner: handle long string delimiters (#7)
* scanner: handle long string delimiters
Strings now can be delimited by arbitrary sequences of characters.
It is also possible to exclude the end delimiter, as for example
required for `//` C or Go comments.
* scanner: fix handling strings within blocks
Diffstat (limited to 'vm1/vm_test.go')
| -rw-r--r-- | vm1/vm_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm1/vm_test.go b/vm1/vm_test.go index 6a00808..53b0d07 100644 --- a/vm1/vm_test.go +++ b/vm1/vm_test.go @@ -7,6 +7,7 @@ import ( func TestVM(t *testing.T) { for _, test := range tests { + test := test t.Run("", func(t *testing.T) { m := &Machine{} for _, v := range test.sym { |
