You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/format/IndexOf/__snapshots__/jsfmt.spec.js.snap
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -99,15 +99,17 @@ contract IndexOf {
99
99
if (a.length<1||b.length<1|| (b.length>a.length)) {
100
100
whatwastheval=-1;
101
101
return-1;
102
-
} elseif (a.length> (2**128-1)) {
103
-
// since we have to be able to return -1 (if the char isn't found or input error), this function must return an "int" type with a max length of (2^128 - 1)
102
+
} elseif (
103
+
a.length> (2**128-1)
104
+
) // since we have to be able to return -1 (if the char isn't found or input error), this function must return an "int" type with a max length of (2^128 - 1)
0 commit comments