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: .agents/skills/type-checker-tests/SKILL.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
2
name: type-checker-tests
3
-
description: Add integration tests for type checker inference and checking2 functions
3
+
description: Add integration tests for type checker inference and checking functions
4
4
allowed-tools: Bash(mkdir:*)
5
5
---
6
6
7
7
# Type Checker Integration Tests
8
8
9
-
Use the command reference at `reference/compiler-scripts.md` for test runner syntax, snapshot workflows, filters, and trace debugging. The category is `checking2`.
9
+
Use the command reference at `reference/compiler-scripts.md` for test runner syntax, snapshot workflows, filters, and trace debugging. The category is `checking`.
10
10
11
11
**Language:** Fixtures use PureScript syntax, not Haskell.
12
12
@@ -15,7 +15,7 @@ Use the command reference at `reference/compiler-scripts.md` for test runner syn
15
15
### 1. Create fixture directory
16
16
17
17
```bash
18
-
just t checking2 --create "descriptive name"
18
+
just t checking --create "descriptive name"
19
19
```
20
20
21
21
The CLI picks the next fixture number and creates the folder.
@@ -24,7 +24,7 @@ Tests are auto-discovered by `build.rs`.
24
24
25
25
### 2. Write Main.purs
26
26
27
-
**Standard pattern** - pair typed (checking2) and untyped (inference) variants:
27
+
**Standard pattern** - pair typed (checking) and untyped (inference) variants:
28
28
29
29
```purescript
30
30
module Main where
@@ -45,24 +45,24 @@ test' [x] = x
45
45
### 3. Run and review
46
46
47
47
```bash
48
-
just t checking2 NNN MMM
48
+
just t checking NNN MMM
49
49
```
50
50
51
51
### 4. Accept or reject snapshots
52
52
53
53
```bash
54
-
just t checking2 NNN --diff # Inspect a fixture diff
55
-
just t checking2 NNN --accept # Accept a specific fixture
56
-
just t checking2 NNN --reject # Reject a specific fixture
57
-
just t checking2 --accept --confirm # Accept all pending snapshots
54
+
just t checking NNN --diff # Inspect a fixture diff
55
+
just t checking NNN --accept # Accept a specific fixture
56
+
just t checking NNN --reject # Reject a specific fixture
57
+
just t checking --accept --confirm # Accept all pending snapshots
58
58
```
59
59
60
60
## Multi-File Tests
61
61
62
62
For imports, re-exports, or cross-module behavior:
0 commit comments