1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

59 Commits

Author SHA1 Message Date
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
Rob Rix
b2eee4985e
Run the reader around the parse fixtures. 2019-09-30 12:10:59 -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
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
0a3c11d5db Better formatting by keeping description lines shorter 2019-06-19 17:42:53 -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
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
Timothy Clem
7840aec67b Fix specs 2019-04-12 12:50:30 -07:00
Timothy Clem
cc78c0d8d5 Case Api as generated 2019-02-12 12:49:34 -08:00
Timothy Clem
ce04fa8f12 Refactor runTask 2019-02-01 15:04:23 -08:00
Timothy Clem
d3330aa9f3 Dedicated input types for Blob and BlobPair 2019-01-28 14:37:50 -08:00
Timothy Clem
6befe07ea3 Remove rest of old diff renderers and Diff.hs 2019-01-22 12:05:45 -07:00
Timothy Clem
5e6d0240b2 Use the new diff api from the CLI, fix up tests again 2019-01-22 11:42:06 -07:00
Timothy Clem
dad86f11e7 No more TermRenderer and all tests passing 2019-01-18 15:54:55 -08:00
Timothy Clem
f23110a73a Transition sexpression term rendering 2019-01-18 09:29:51 -08:00
Timothy Clem
15643e1d4f Switch over ToCDiffRenderer (will fix the tests next) 2019-01-17 15:58:49 -08:00
Timothy Clem
d8ef1c1f40 Fix up tests 2019-01-17 15:36:56 -08:00
Timothy Clem
e3afd9d684 Symbol rendering is entirely on the new path 2019-01-17 15:13:39 -08:00
Patrick Thomson
f750f2952a Remove 'both' function. 2019-01-10 15:53:15 -05:00
Timothy Clem
039d43e523 🔥 the --tags output and associated code 2018-06-18 11:36:31 -07:00
Patrick Thomson
10a863f57c Fix tests 2018-06-04 18:26:47 -04:00
Timothy Clem
a4e0ca6686 Fix tests and use fixtures that are easier to maintain 2018-05-31 17:20:51 -07:00
Timothy Clem
9baea34f5d Generically derive ToJSONFields1 for basically everything 2018-05-31 10:56:04 -07:00
Timothy Clem
ddc4923e88 Fix tests 2018-05-30 09:53:01 -07:00
Timothy Clem
2d08451d87 Call [] Statements 2018-05-29 14:25:31 -07:00
Rob Rix
367982bc8d Don’t use SomeRenderer in the CLI spec. 2018-05-14 18:44:19 -04:00
Rob Rix
84ea29a60b Fix the tests. 2018-05-14 18:39:41 -04:00
Rob Rix
f047b57ecc Encoding order is significant. 2018-05-14 16:18:57 -04:00
Rob Rix
b979e9757c Run the builders. 2018-05-14 10:28:01 -04:00
Rob Rix
fc70382d5b Correct the handle types. 2018-05-14 10:27:58 -04:00
Timothy Clem
e2722ea7e9 Construct File(s) here too 2018-04-20 16:34:37 -07:00
Timothy Clem
2617b3a4a6 Move cli fixtures around 2018-04-18 13:55:21 -07:00
Charlie Somerville
cdb5672b27 test: fix expected output for parse and diff cli tests 2018-04-16 16:19:23 +10:00
Timothy Clem
c6cdfc4958 Fix CLI specs 2018-04-16 16:19:23 +10:00
Patrick Thomson
1138bd3141 Fix tests. 2018-04-04 12:53:54 -04:00
Timothy Clem
bbff8d45ed More spec import cleanup 2018-03-13 11:10:50 -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
435e5fb91b Test out tags output too so we don't break it 2018-01-17 13:31:56 -08:00
Timothy Clem
198c31e9f0 Fix up test output, test symbols output 2018-01-17 12:59:08 -08:00
Timothy Clem
6517970f8a Symbol rendering (like tags, but new hotness) 2018-01-17 12:54:17 -08:00
Timothy Clem
02c18b45fd Remove metadata from response 2018-01-08 09:36:17 -08:00
Timothy Clem
875ff4dda9 Merge remote-tracking branch 'origin/master' into diff-api-updates 2017-12-19 11:32:26 -08:00
Timothy Clem
74f7f4afd9 Diff JSON output includes path key now too 2017-12-18 15:27:53 -08:00
Rob Rix
a112fca6f3 Merge branch 'master' into 🔥-monolithic-syntax 2017-12-18 15:07:00 -05:00
Timothy Clem
82ce34a00e Revert "Keep backwards compat with filePath for now"
This reverts commit d9b427d264d05db8b62f83b8553b5b9250d50cb4.
2017-12-14 13:49:43 -08:00