Skip to content

Commit fcc662b

Browse files
committed
fix: update remaining snapshot files to use --- separator for compact summary
1 parent 67d7c5a commit fcc662b

14 files changed

Lines changed: 21 additions & 21 deletions

File tree

crates/vite_task_bin/tests/e2e_snapshots/fixtures/associate-existing-cache/snapshots/associate existing cache.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ hello
99
$ print hellocache hit, replaying
1010
hello
1111

12-
────────────────────────────────────────────────
12+
---
1313
[vp run] cache hit, <duration> saved.
1414
> json-edit package.json '_.scripts.script2 = "print world"' # change script2
1515

crates/vite_task_bin/tests/e2e_snapshots/fixtures/builtin-different-cwd/snapshots/builtin different cwd.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ $ vp lint ✓ cache hit, replaying
4141
Found 2 warnings and 0 errors.
4242
Finished in <duration> on 2 files with 90 rules using <n> threads.
4343

44-
────────────────────────────────────────────────
44+
---
4545
[vp run] cache hit, <duration> saved.
4646
> echo 'console.log(1);' > folder2/a.js # modify folder2
4747

@@ -70,5 +70,5 @@ $ vp lint ✓ cache hit, replaying
7070
Found 1 warning and 0 errors.
7171
Finished in <duration> on 2 files with 90 rules using <n> threads.
7272

73-
────────────────────────────────────────────────
73+
---
7474
[vp run] cache hit, <duration> saved.

crates/vite_task_bin/tests/e2e_snapshots/fixtures/cache-disabled/snapshots/task with cache enabled.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ test content
99
$ print-file test.txtcache hit, replaying
1010
test content
1111

12-
────────────────────────────────────────────────
12+
---
1313
[vp run] cache hit, <duration> saved.

crates/vite_task_bin/tests/e2e_snapshots/fixtures/cache-miss-command-change/snapshots/cache miss command change.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ foo
99
$ print bar
1010
bar
1111

12-
────────────────────────────────────────────────
12+
---
1313
[vp run] 0/2 cache hit (0%). (Run `vp run --verbose` for full details)
1414
> json-edit package.json '_.scripts.task = "print baz && print bar"' # change first subtask
1515

@@ -20,13 +20,13 @@ baz
2020
$ print barcache hit, replaying
2121
bar
2222

23-
────────────────────────────────────────────────
23+
---
2424
[vp run] 1/2 cache hit (50%), <duration> saved. (Run `vp run --verbose` for full details)
2525
> json-edit package.json '_.scripts.task = "print bar"' # remove first subtask
2626

2727
> vp run task # cache hit
2828
$ print bar ✓ cache hit, replaying
2929
bar
3030

31-
────────────────────────────────────────────────
31+
---
3232
[vp run] cache hit, <duration> saved.

crates/vite_task_bin/tests/e2e_snapshots/fixtures/cache-subcommand/snapshots/cache clean.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test content
99
$ print-file test.txtcache hit, replaying
1010
test content
1111

12-
────────────────────────────────────────────────
12+
---
1313
[vp run] cache hit, <duration> saved.
1414
> vp cache clean
1515

crates/vite_task_bin/tests/e2e_snapshots/fixtures/exit-codes/snapshots/multiple task failures returns exit code 1.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ expression: e2e_outputs
77

88
~/packages/pkg-b$ node -e "process.exit(7)"
99

10-
────────────────────────────────────────────────
10+
---
1111
[vp run] 0/2 cache hit (0%), 2 failed. (Run `vp run --verbose` for full details)

crates/vite_task_bin/tests/e2e_snapshots/fixtures/individual-cache-for-adt-args/snapshots/individual cache for extra args.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ b
1212
$ print acache hit, replaying
1313
a
1414

15-
────────────────────────────────────────────────
15+
---
1616
[vp run] cache hit, <duration> saved.
1717
> vp run say b # cache hit
1818
$ print b ✓ cache hit, replaying
1919
b
2020

21-
────────────────────────────────────────────────
21+
---
2222
[vp run] cache hit, <duration> saved.

crates/vite_task_bin/tests/e2e_snapshots/fixtures/individual-cache-for-envs/snapshots/individual cache for envs.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ $ print-env FOO ✗ cache miss: envs changed, executing
1212
$ print-env FOOcache hit, replaying
1313
1
1414

15-
────────────────────────────────────────────────
15+
---
1616
[vp run] cache hit, <duration> saved.
1717
> FOO=2 vp run hello # cache hit
1818
$ print-env FOO ✓ cache hit, replaying
1919
2
2020

21-
────────────────────────────────────────────────
21+
---
2222
[vp run] cache hit, <duration> saved.

crates/vite_task_bin/tests/e2e_snapshots/fixtures/lint-dot-git/snapshots/lint dot git.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ $ vp lint ✓ cache hit, replaying
3131
Found 1 warning and 0 errors.
3232
Finished in <duration> on 1 file with 90 rules using <n> threads.
3333
34-
────────────────────────────────────────────────
34+
---
3535
[vp run] cache hit, <duration> saved.

crates/vite_task_bin/tests/e2e_snapshots/fixtures/shared-caching-inputs/snapshots/shared caching inputs.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ initial content
99
$ print-file foo.txtcache hit, replaying
1010
initial content
1111

12-
────────────────────────────────────────────────
12+
---
1313
[vp run] cache hit, <duration> saved.
1414
> replace-file-content foo.txt initial modified # modify shared input
1515

@@ -20,5 +20,5 @@ modified content
2020
$ print-file foo.txt ✓ cache hit, replaying
2121
modified content
2222

23-
────────────────────────────────────────────────
23+
---
2424
[vp run] cache hit, <duration> saved.

0 commit comments

Comments
 (0)