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

89 Commits

Author SHA1 Message Date
Rob Rix
977d459995 Rename a couple of tests. 2017-06-05 11:32:18 -04:00
Rob Rix
5fecc68324 🔥 Summarizable. 2017-06-05 11:31:37 -04:00
Rob Rix
ea82328fac Filter out both-missing cases up front. 2017-06-01 11:33:12 -04:00
Rob Rix
8cd44d59a5 diffTerms takes its inputs in Both. 2017-06-01 11:10:47 -04:00
Rob Rix
4b5ad434e8 Rename parseDiffAndRenderBlobPair to diffBlobPair. 2017-05-31 12:27:21 -04:00
Rob Rix
f95dd4215d Correct TOCSpec. 2017-05-30 10:29:37 -04:00
Rob Rix
681d0c8bce 🔥 the JavaScript language. 2017-05-17 12:54:37 -04:00
Rob Rix
b8b844cecc 🔥 more redundant imports. 2017-05-11 17:16:51 -04:00
Rob Rix
162a9695d4 Correct the specs for only taking the after side of replacements. 2017-05-11 17:09:54 -04:00
Rob Rix
a71183adca Revert "Expect multiple results when there are multiple methods."
This reverts commit 2cae877627e577342072eb119729b92e8f020978.
2017-05-11 17:08:38 -04:00
Rob Rix
b8db6b85a2 Expect multiple results when there are multiple methods. 2017-05-11 17:04:33 -04:00
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
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
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
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
b7370b6e1a Sort out the tests to pass language with paths 2017-05-09 15:55:26 -07: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
Timothy Clem
12948181c5 Merge remote-tracking branch 'origin/master' into clean-parse-and-diff-interface 2017-04-25 09:02:41 -07:00
joshvera
7395e88ab0 Remove Data.RandomWalkSimilarity 2017-04-24 15:53:11 -04:00
Timothy Clem
56f9a7ba40 Change naming to diffBlobPair(s) 2017-04-24 07:46:32 -07:00
Timothy Clem
78d376e256 Pair down command to just fs and git operations 2017-04-21 13:56:19 -07:00
Timothy Clem
e9316f4026 Use new diffBlobs interface in cmdline program 2017-04-21 10:25:47 -07:00
Timothy Clem
04f7f4b1f5 Start to build new interface for semantic 2017-04-19 16:33:27 -07:00
Timothy Clem
34553f1057 toc summary specs no longer rely on command 2017-04-19 14:16:44 -07:00
Timothy Clem
eb9547fb25 Tease apart file reading and transcoding 2017-04-19 09:12:19 -07:00
Rob Rix
15d899abed Run diffs in Both. 2017-04-04 10:42:51 -04:00
Rob Rix
43c2b696ed 🔥 redundant imports. 2017-04-03 22:21:12 -04:00
Rob Rix
fbb899250a Replace the summaries maps with Summaries. 2017-04-03 17:15:58 -04:00