summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/coverage/branch_expected.out
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-12-23 20:02:54 -0500
committerGitHub <noreply@github.com>2021-12-23 20:02:54 -0500
commit7ebbda7fd71495b6f4e9bf87d385d19c44102c62 (patch)
treee3279b7456e47511f41c95a1972391f0607b6450 /cli/tests/testdata/coverage/branch_expected.out
parent37dbe5249c9b5c447da5577b5c787d7006a4c80f (diff)
fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190)
Diffstat (limited to 'cli/tests/testdata/coverage/branch_expected.out')
-rw-r--r--cli/tests/testdata/coverage/branch_expected.out11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/testdata/coverage/branch_expected.out b/cli/tests/testdata/coverage/branch_expected.out
new file mode 100644
index 000000000..2ff5e911e
--- /dev/null
+++ b/cli/tests/testdata/coverage/branch_expected.out
@@ -0,0 +1,11 @@
+cover [WILDCARD]/coverage/branch.ts ... 35.714% (5/14)
+ 5 | return false;
+ 6 | }
+-----|-----
+ 9 | export function unused(condition: boolean): boolean {
+ 10 | if (condition) {
+ 11 | return false;
+ 12 | } else {
+ 13 | return true;
+ 14 | }
+ 15 | }