1
1
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:
Alexei Pastuchov 2020-05-20 11:40:44 +02:00
parent a3c49edd31
commit 62c804675e

View File

@ -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"