mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Rename [i:j] to [i .. j], the same as Rust
This commit is contained in:
1 parent
7872a8893b
commit
a9ea63ff06
16 files changed
+55
-50
No files matched your search
@@ -37,7 +37,7 @@ func TestString(tt *testing.T) {
|
||||
|
||||
"x[i]",
|
||||
"x[i][j]",
|
||||
"x[i:j]",
|
||||
"x[i .. j]",
|
||||
"x[i](arg:j)",
|
||||
"x(arg:i)[j]",
|
||||
|
||||
@@ -56,7 +56,7 @@ func TestString(tt *testing.T) {
|
||||
"x * ((a / b) - (i / j))",
|
||||
|
||||
"x + y + z",
|
||||
"x + (i * j.k[l] * (-m << 4) * (n & o(o0:p, o1:q[:r.s + 5]))) + z",
|
||||
"x + (i * j.k[l] * (-m << 4) * (n & o(o0:p, o1:q[.. r.s + 5]))) + z",
|
||||
|
||||
"x as base.bool",
|
||||
"x as base.u32",
|
||||
|
||||
Reference in new issue
Block a user