1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00
Commit Graph

1906 Commits

Author SHA1 Message Date
Rob Rix
c548795cb9 diffTOC doesn’t take blobs. 2017-05-11 16:59:32 -04:00
Rob Rix
2b68c6e626 Correct how we count the number of relevant nodes. 2017-05-11 16:54:14 -04:00
Rob Rix
f24a687937 We now include results from both sides of replacements. 2017-05-11 16:42:17 -04:00
Rob Rix
1f653470d1 Correct the tests. 2017-05-11 16:37:08 -04:00
Rob Rix
994e56452f Provide declarations in all the tests. 2017-05-11 15:53:22 -04:00
Rob Rix
0d13175085 Reuse the entryPayload function. 2017-05-11 15:37:17 -04:00
Rob Rix
0ba823b51f Update the fixture to include changes for the non-error side. 2017-05-11 15:21:18 -04:00
Rob Rix
5e5c4694b8 Merge remote-tracking branch 'origin/master' into generalize-table-of-contents-over-the-syntax-functor
# Conflicts:
#	src/Arguments.hs
#	test/CommandSpec.hs
#	test/SpecHelpers.hs
#	test/TOCSpec.hs
2017-05-11 15:17:46 -04:00
Rob Rix
715548bd89 Reformat the changed entry test. 2017-05-11 13:54:32 -04:00
Rob Rix
d19331da82 Correct the test of changed entries. 2017-05-11 13:52:31 -04:00
Rob Rix
7f6c9f33e0 Generalize programOf to wrap diffs. 2017-05-11 13:49:25 -04:00
Rob Rix
a8f68f61d0 Test the generation of changed entries. 2017-05-11 13:48:35 -04:00
Rob Rix
06d40b69b7 Test that entries within patches are returned in Patched. 2017-05-11 13:11:40 -04:00
Rob Rix
f22e703550 Slightly safer selection of the last value. 2017-05-11 13:11:16 -04:00
Timothy Clem
b9358d7809 Favor multiple arguments over a tuple argument 2017-05-11 10:10:48 -07:00
Rob Rix
d1d5f6454c Pull the selection of the last value into a helper. 2017-05-11 13:07:18 -04:00
Rob Rix
f7bc08427a Test that we produce unchanged entries for identity diffs. 2017-05-11 10:02:18 -04:00
Rob Rix
8a86d27f7c Sort the imports. 2017-05-11 10:00:11 -04:00
Rob Rix
a418b38e7f 🔥 feature vectors from the Interpreter spec. 2017-05-11 09:48:46 -04:00
Rob Rix
e543a192ef 🔥 redundant definitions of unListableDiff. 2017-05-11 09:30:15 -04:00
Rob Rix
7227e27428 Move unListableDiff into SpecHelpers. 2017-05-11 09:28:52 -04:00
Rob Rix
1dc74959b8 Test that tableOfContentsBy includes all nodes with constant Just functions. 2017-05-11 09:27:28 -04:00
Rob Rix
0bb408bf06 Test that tableOfContentsBy will drop everything with the constant Nothing function. 2017-05-10 17:01:42 -04:00
Rob Rix
2a551f1a94 Use the inserting helper. 2017-05-10 16:08:39 -04:00
Rob Rix
09e93cf899 🔥 another redundant import. 2017-05-10 15:59:26 -04:00
Rob Rix
7c427aab0a 🔥 a redundant import. 2017-05-10 15:59:11 -04:00
Rob Rix
72faa30494 Invert the sense of the valid/error predicate. 2017-05-10 15:55:10 -04:00
Rob Rix
4ea3832200 Pass decorators to diffBlobPairs. 2017-05-10 15:41:17 -04:00
Timothy Clem
edb104ff92 Still have extra imports 2017-05-09 16:12:06 -07:00
Timothy Clem
b7370b6e1a Sort out the tests to pass language with paths 2017-05-09 15:55:26 -07:00
Rob Rix
118e94a2a7 Merge branch 'master' into generalize-table-of-contents-over-the-syntax-functor 2017-05-09 13:21:49 -04:00
Rob Rix
c131c94200 Fix the tests. 2017-05-09 11:17:26 -04:00
Rob Rix
40ab9a051f Turn off the warning for the orphan instance. 2017-05-09 10:19:45 -04:00
Rob Rix
561e61fdd5 Use Text in TOCSpec. 2017-05-08 15:08:01 -04:00
Rob Rix
96d6210a4c Use wrap/pure instead of free $ Free/Pure. 2017-05-08 13:29:04 -04:00
Rob Rix
4894a5b286 Merge branch 'master' into generalize-alignment-over-the-syntax-functor 2017-05-08 09:50:38 -04:00
Rob Rix
6ce4496f14 Merge branch 'master' into opt-in-anonymous-nodes 2017-05-08 08:33:14 -04:00
Rob Rix
4274fdf6e3 Merge branch 'master' into generalize-alignment-over-the-syntax-functor 2017-05-08 08:28:01 -04:00
Timothy Clem
f2f6bb45d9 Don't parse blobs that don't exist 2017-05-05 10:06:58 -07:00
Timothy Clem
2b4d4a0e85 Bring back original json structure with 'sourceRange' and identifier only on specific nodes 2017-05-05 09:08:58 -07:00
Rob Rix
f14cd97cae Merge branch 'master' into generalize-alignment-over-the-syntax-functor 2017-05-05 10:56:23 -04:00
Rob Rix
209a2de6b6 Merge branch 'master' into opt-in-anonymous-nodes 2017-05-05 10:56:14 -04:00
Rob Rix
bee7d1ee6a Merge branch 'master' into fix-json-output 2017-05-05 09:06:30 -04:00
Timothy Clem
702198ec91 Failing tests showing desired json output 2017-05-04 14:56:32 -07:00
Rob Rix
d6dbc534eb Don’t bind variables we don’t use. 2017-05-04 17:36:03 -04:00
Rob Rix
d0603610cc Update the JSON diff output fixtures. 2017-05-04 17:32:06 -04:00
Rob Rix
231abd6cb5 Generalize alignment over the syntax functor. 2017-05-04 17:31:45 -04:00
Rob Rix
9f1a4bc778 Merge branch 'master' into opt-in-anonymous-nodes 2017-05-04 13:18:00 -04:00
Rob Rix
aed82c030d Merge branch 'master' into opt-in-anonymous-nodes 2017-05-04 11:02:30 -04:00
Rob Rix
68b813d51b Merge branch 'master' into 🔥-split-renderer 2017-05-04 10:59:21 -04:00