1
1
mirror of https://github.com/github/semantic.git synced 2024-11-30 14:47:30 +03:00
Commit Graph

27 Commits

Author SHA1 Message Date
Patrick Thomson
052a95e9b6 tests work now 2019-12-10 13:38:09 -05:00
Rob Rix
3a18af8f47
We don’t actually use NamedFieldPuns here. 2019-10-30 14:12:53 -04:00
Rob Rix
b07382d236
🔥 partial record selectors in the integration spec. 2019-10-30 14:11:39 -04:00
Rob Rix
6606d52841
Eliminate uses of Both. 2019-10-18 10:45:59 -04:00
Patrick Thomson
090b014eed Remove filepath dependency from tests. 2019-09-20 12:26:49 -04:00
Patrick Thomson
099aa6a7af diffFilePaths. 2019-09-20 11:54:11 -04:00
Patrick Thomson
a5d9367906 parseFilePath. 2019-09-20 11:52:39 -04:00
Patrick Thomson
eafbd67178 Integration tests now use typed paths (to some degree) 2019-09-20 11:45:48 -04:00
Patrick Thomson
b17a2c0ee8 Better nomenclature. 2019-06-19 17:56:37 -04:00
Patrick Thomson
bfdb4a1de7 Clean up specs with some implicit parameters.
Test cases are a good use of `-XImplicitParams`, because often one
finds oneself plumbing a bunch of parameters obtained from IO through
a dozen layers of pure functions. Implicit parameters make this sort
of passing significantly easier.

Fixes #128.
2019-06-12 13:55:14 -04:00
Patrick Thomson
6a15695195 Even more unused imports. 2019-06-12 13:16:34 -04:00
Patrick Thomson
0292506ebd Account for occasional race conditions in testsForLanguage.
Not sure where this is coming from, but we don't want the builders to
get stuck.
2019-06-12 12:26:02 -04:00
Patrick Thomson
99c4bb21f8 Overhaul test harnesses and add tasty bounds. 2019-06-12 11:30:20 -04:00
Patrick Thomson
2754e26e9a Port over Integration.hs. 2019-06-12 11:04:42 -04:00
joshvera
237c4d6b3f Move jsx tests to tsx directory 2019-06-06 18:44:15 -04:00
Rob Rix
5a35598213
Return the actual exception when parsing/assignment fails. 2019-06-05 14:28:28 -04:00
Timothy Clem
ce04fa8f12 Refactor runTask 2019-02-01 15:04:23 -08:00
Patrick Thomson
f750f2952a Remove 'both' function. 2019-01-10 15:53:15 -05:00
Rob Rix
b33daf0ce1 Pass the task config stuff around as a single datum. 2018-07-10 13:49:34 -04:00
Rob Rix
90cb86d027 Pass config & queues to the integration specs. 2018-07-09 14:26:15 -04:00
Rob Rix
7cbaee920c Run integration tests for JSON. 2018-06-27 12:55:58 -04:00
Timothy Clem
ea0afa1747 Move corpus tests into their own dir 2018-04-18 13:33:17 -07:00
Timothy Clem
bbff8d45ed More spec import cleanup 2018-03-13 11:10:50 -07:00
Timothy Clem
993ae92a75 Clean up IntegrationSpec imports 2018-03-13 11:04:58 -07:00
Patrick Thomson
da2a3fc7a8 Initial pass fixing errors raised by weeder.
This fixes a lot of unnecessary exports in the specs, removes a couple
otiose imports (comonads and semigroups are provided by base, I beleive),
and removes a duplicated function.
2018-03-09 12:07:34 -05:00
Timothy Clem
fec643536b Move Verbatim to SpecHelpers 2018-02-07 12:20:27 -08:00
Rob Rix
bcb64b3187 Rename the Integration spec. 2017-11-27 14:06:12 -05:00