mirror of
https://github.com/github/semantic.git
synced 2024-11-23 08:27:56 +03:00
semantic-rust should run corpus tests for macros.txt
This commit is contained in:
parent
a3c49edd31
commit
62c804675e
@ -18,8 +18,8 @@ main
|
||||
>>= defaultMain . tests
|
||||
where
|
||||
parse = parseByteString @Rust.SourceFile @() tree_sitter_rust
|
||||
excludeMacrosCorpus l = liftM (filter (f "expressions") ) $ liftM (filter (f "macros") ) l
|
||||
excludeMacrosCorpus l = liftM (filter (f "expressions") ) l
|
||||
where f p bn = p /= (Path.toString . Path.takeBaseName) bn
|
||||
|
||||
tests :: [TestTree] -> TestTree
|
||||
tests = testGroup "tree-sitter-rust corpus tests"
|
||||
tests = testGroup "tree-sitter-rust corpus tests"
|
||||
|
Loading…
Reference in New Issue
Block a user