Skip to content

Commit a5686bd

Browse files
committed
Split tests into separate, grammar-specific files
1 parent 3690955 commit a5686bd

27 files changed

Lines changed: 1374 additions & 1247 deletions

‎.vscode/tasks.json‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "cargo build",
6+
"type": "shell",
7+
"command": "cargo",
8+
"args": ["build"],
9+
"options": {
10+
"cwd": "${workspaceFolder}",
11+
"env": {
12+
"PATH": "${env:PATH}:${env:HOME}/.cargo/bin"
13+
}
14+
},
15+
"group": {
16+
"kind": "build",
17+
"isDefault": true
18+
},
19+
"problemMatcher": ["$rustc"],
20+
"presentation": {
21+
"reveal": "always",
22+
"panel": "shared"
23+
}
24+
},
25+
{
26+
"label": "cargo test",
27+
"type": "shell",
28+
"command": "cargo",
29+
"args": ["test"],
30+
"options": {
31+
"cwd": "${workspaceFolder}",
32+
"env": {
33+
"PATH": "${env:PATH}:${env:HOME}/.cargo/bin"
34+
}
35+
},
36+
"group": "test",
37+
"problemMatcher": ["$rustc"],
38+
"presentation": {
39+
"reveal": "always",
40+
"panel": "shared"
41+
}
42+
}
43+
]
44+
}

‎src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
pub mod ast;
2-
mod test;
32
pub mod parser;
43
pub mod visitor;
54
pub mod transform;

0 commit comments

Comments
 (0)