Skip to content

Commit bf0c480

Browse files
committed
Coverage
1 parent d8d15d0 commit bf0c480

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function getCharacterLastIndex(
2323
}
2424
}
2525

26-
/* c8 ignore next 4 */
26+
/* c8 ignore next 4 @preserve */
2727
throw new Error(
2828
`Cannot find front char ${pattern} from index ${fromIndex} in ${JSON.stringify(
2929
text,
@@ -46,6 +46,7 @@ export function getCharacterIndex(
4646
}
4747
}
4848

49+
/* c8 ignore next 4 @preserve */
4950
throw new Error(
5051
`Cannot find character ${pattern} from index ${fromIndex} in ${JSON.stringify(
5152
text,

0 commit comments

Comments
 (0)