Skip to content

Commit 799f5d5

Browse files
committed
Clean stale asset snapshots and align dependency error snapshot
1 parent c8a38e1 commit 799f5d5

5 files changed

+5
-70
lines changed

crates/pcb/tests/snapshots/auto_deps__auto_deps_kicad_dynamic_path_pcb_toml.snap

Lines changed: 0 additions & 16 deletions
This file was deleted.

crates/pcb/tests/snapshots/auto_deps__auto_deps_kicad_footprints_pcb_toml.snap

Lines changed: 0 additions & 16 deletions
This file was deleted.

crates/pcb/tests/snapshots/auto_deps__auto_deps_kicad_symbols_pcb_toml.snap

Lines changed: 0 additions & 16 deletions
This file was deleted.

crates/pcb/tests/snapshots/auto_deps__auto_deps_multiple_pcb_toml.snap

Lines changed: 0 additions & 17 deletions
This file was deleted.

crates/pcb/tests/snapshots/simple__no_fixture.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ Exit Code: 1
88
--- STDOUT ---
99

1010
--- STDERR ---
11-
Error: No declared dependency or asset matches 'github.com/nonexistent/repo:main/interfaces.zen'
12-
Add a dependency to [dependencies] or an asset to [assets] in pcb.toml that covers this path
11+
Error: No declared dependency matches 'github.com/nonexistent/repo:main/interfaces.zen'
12+
Add a dependency to [dependencies] in pcb.toml that covers this path
1313
╭─[ <TEMP_DIR>/boards/TestBoard.zen:2:1 ]
1414
1515
2 │ load("github.com/nonexistent/repo:main/interfaces.zen", "Gpio", "Ground", "Power")
1616
│ ─────────────────────────────────────────┬────────────────────────────────────────
17-
│ ╰────────────────────────────────────────── No declared dependency or asset matches 'github.com/nonexistent/repo:main/interfaces.zen'
17+
│ ╰────────────────────────────────────────── No declared dependency matches 'github.com/nonexistent/repo:main/interfaces.zen'
1818
───╯
1919

2020
Stack trace (most recent call last):
21-
<TEMP_DIR>/boards/TestBoard.zen:2:1 (No declared dependency or asset matches 'github.com/nonexistent/repo:main/interfaces.zen'
22-
Add a dependency to [dependencies] or an asset to [assets] in pcb.toml that covers this path)
21+
<TEMP_DIR>/boards/TestBoard.zen:2:1 (No declared dependency matches 'github.com/nonexistent/repo:main/interfaces.zen'
22+
Add a dependency to [dependencies] in pcb.toml that covers this path)
2323

2424
✗ TestBoard.zen: Build failed
2525
Error: Build failed with errors

0 commit comments

Comments
 (0)