Timothy Clem
80ab58bd7f
Introduce semantic-go
2019-12-18 13:52:22 -08:00
Timothy Clem
0593436131
Use defaultLanguageModes
2019-12-18 12:43:13 -08:00
Timothy Clem
b2f10d0d6a
Merge remote-tracking branch 'origin/master' into test-precise-parsing
2019-12-18 08:35:57 -08:00
Timothy Clem
65ea04f8cd
Run both langauges with ALaCarte in tests for now
2019-12-17 13:26:20 -08:00
Patrick Thomson
dc69714053
Merge remote-tracking branch 'origin/master' into glorious-ghc-upgrade-8.8
2019-12-13 11:23:36 -05:00
Patrick Thomson
052a95e9b6
tests work now
2019-12-10 13:38:09 -05:00
Patrick Thomson
d26ff76a9f
First pass over the specs.
2019-11-08 22:48:26 -05:00
Rob Rix
a8a3bca972
Fix some missed language extensions.
2019-10-30 13:16:17 -04:00
Patrick Thomson
b6079e0db9
Remove irrelevant specs.
2019-10-21 16:46:02 -04:00
Rob Rix
b00715e247
🔥 the pattern synonyms.
2019-10-18 11:57:26 -04:00
Rob Rix
6606d52841
Eliminate uses of Both.
2019-10-18 10:45:59 -04:00
Rob Rix
93be1bc1a4
Run with the default language modes.
2019-10-17 13:47:52 -04:00
Patrick Thomson
2f91bad319
Fix tests.
2019-10-04 15:49:30 -04:00
Timothy Clem
1232cc372a
Don't need to hide readFile
2019-10-02 13:53:16 -07:00
Rob Rix
e19dc31c1e
Merge branch 'master' into parse-effect
2019-09-30 18:13:32 -04:00
Rob Rix
4e83f50053
Fix all the tests.
2019-09-30 17:59:23 -04:00
Rob Rix
9e183cd46b
Rename TaskEff to TaskC.
2019-09-30 15:54:57 -04:00
Patrick Thomson
896024902c
Merge branch 'master' into abolish-the-handle-binary
2019-09-30 14:40:20 -04:00
Patrick Thomson
9d889e9ca8
Add a test for catFile such that we ensure UTF-8 output isn't mangled.
2019-09-30 13:08:09 -04:00
Rob Rix
b2eee4985e
Run the reader around the parse fixtures.
2019-09-30 12:10:59 -04:00
Rob Rix
bd7feb1378
Run a reader around the parseTermBuilder calls.
2019-09-30 12:06:25 -04:00
Patrick Thomson
a686344145
Add failing unit tests.
2019-09-29 16:57:11 -04:00
Patrick Thomson
79dcbfd1ca
Add test for Semantic.Git.lsTree.
...
I have a proposed speedup for lsTree, but since this resides on a
critical path for downstream systems, I want to make sure that I don't
break this while I'm at it.
I really should rewrite this test to use tasty-hspec, but it'd be a
long slog, and I have better things to do.
2019-09-29 13:44:14 -04:00
Patrick Thomson
090b014eed
Remove filepath dependency from tests.
2019-09-20 12:26:49 -04:00
Patrick Thomson
ebf94a8d7e
Move the CLI specs to use pathtype.
2019-09-19 21:16:42 -04:00
Timothy Clem
4fa9013e92
Add a test for other types and modes
2019-07-31 15:31:50 -06:00
Timothy Clem
2b37bc9312
New options for readBlobsFromGitRepo
...
Allows specifying only the paths you want to parse in the repo
2019-07-30 17:34:35 -07:00
Patrick Thomson
669ee584df
Quiesce the last few warnings from the tests.
2019-06-20 01:50:32 -04:00
Patrick Thomson
086947ade5
Add golden tests for parse --proto-symbols
output.
...
This should help us ensure that we don't break CLI output, since our
CLI is an API.
This was made super-easy thanks to `tasty-golden`. I literally added
those two lines of code and it automatically created the reference
`.protobuf.bin` files. Slick as hell.
2019-06-20 01:33:51 -04:00
Patrick Thomson
b17a2c0ee8
Better nomenclature.
2019-06-19 17:56:37 -04:00
Patrick Thomson
4de36c5f0e
Rewrite the Stat tests so they're not racy.
2019-06-19 17:54:53 -04:00
Patrick Thomson
0a3c11d5db
Better formatting by keeping description lines shorter
2019-06-19 17:42:53 -04:00
Patrick Thomson
43e3fb4533
Remove unnecessary use of parallel
.
2019-06-19 17:22:09 -04:00
Patrick Thomson
6306f07cc1
Better story for handling JSON exceptions.
2019-06-19 17:14:52 -04:00
Patrick Thomson
6d599a5c7b
Forgot that Exception doesn't imply Eq.
2019-06-19 12:58:40 -04:00
Patrick Thomson
8ae90e53c5
Quiet debug spew in specs.
...
This console barf makes reading though backscrolls unpleasant. Using
Shelly rather than an abomination of a `system` call and adding a
helper function to parse files quietly improved the situation greatly.
This also contains changes to Util that make the file significantly
easier to navigate, thanks to the power of `PartialTyepSignatures`.
Fixes #140 .
2019-06-19 12:09:37 -04:00
Jan Hrček
ec4248cbb4
Fix warnings in tests
...
27 [-Wunused-matches]
7 [-Wmissing-export-lists]
6 [-Wunused-imports]
5 [-Wmissing-signatures]
2 [-Wincomplete-uni-patterns]
1 [-Wunused-top-binds]
1 [-Wtype-defaults]
2019-06-15 08:56:59 +02:00
Patrick Thomson
a4652120a7
Fix test cases for builders (which don't have jd).
2019-06-12 16:40:28 -04:00
Patrick Thomson
b8cb9d1bfa
Remove unused imports.
2019-06-12 12:52:11 -04:00
Patrick Thomson
3363eccfdf
Better comments and test labels.
2019-06-12 12:29:11 -04:00
Patrick Thomson
acbacbe779
Use golden tests for the CLI.
2019-06-12 12:26:37 -04:00
lalaition
e4319224e3
Cleaned up parser
2019-06-09 14:11:58 -06:00
lalaition
be96fcf52f
Refactored code to be in line with suggestions
2019-06-06 21:24:22 -06:00
lalaition
2ba61a21a0
Use Attoparsec to parse git output instead of manually splitting Text
2019-06-05 20:07:48 -06:00
Patrick Thomson
0e13a4c091
These can be in parallel because we're not changing the cwd.
2019-05-28 15:49:43 -04:00
Patrick Thomson
e4143aaa34
slightly less heinous implementation
2019-05-28 15:43:14 -04:00
Patrick Thomson
e77d723859
try to fix the builders
2019-05-28 15:34:31 -04:00
Patrick Thomson
00e7ceb883
Fix dead imports.
2019-05-28 14:58:37 -04:00
Patrick Thomson
a410300492
Add tests for readBlobsFromGitRepo.
...
This is part of the critical path for repository tagging, so we should
test it to make sure it doesn't explode. This introduces a test that
creates a temporary git repo and queries it to make sure that adding
and then reading from a blob works properly.
2019-05-28 14:54:18 -04:00
Patrick Thomson
8e0962712e
legacyMakeBlob => makeBlob. Also unpack File.
2019-05-24 11:52:35 -04:00