Skip to content

Commit ebd6748

Browse files
committed
✅ Add test for Bash
It's not working locally, but I wonder if it's just a local issue. Let's see if it works in the CI.
1 parent 112485b commit ebd6748

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/bash/nursery.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ setup({
77
treeSitterPackage: 'tree-sitter-bash',
88
languageRegistration,
99
testRunner: parse => {
10-
// add test here
10+
const sg = parse('echo test')
11+
const root = sg.root()
12+
const node = root.find('echo $A')
13+
assert.equal(node.kind(), 'command')
1114
},
1215
})

0 commit comments

Comments
 (0)