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

208 Commits

Author SHA1 Message Date
Rob Rix
23f050ab81 Correct a test. 2015-11-12 18:12:04 -05:00
joshvera
5eddc274cb Map Range<Index> not Range<Column> to Range<Int> 2015-11-09 15:19:34 -05:00
joshvera
f77b899377 Merge branch 'master' into line-numbers 2015-11-09 12:06:48 -05:00
joshvera
93808be85f fix test 2015-11-06 11:01:11 -05:00
Rob Rix
ba450bf45a Rename up to outOf. 2015-11-05 12:06:39 -05:00
Rob Rix
9151d02655 Rename down to into. 2015-11-05 12:05:28 -05:00
Rob Rix
47a1e8eb0c Test that modifications can replace sub-diffs. 2015-11-05 12:02:14 -05:00
Rob Rix
7abe08d60c Comment on the coarse-grained diff. 2015-11-05 12:02:04 -05:00
Rob Rix
5a49baa039 Add a refined diff fixture. 2015-11-05 12:01:47 -05:00
Rob Rix
28437e013f Add a diff fixture. 2015-11-05 11:52:22 -05:00
Rob Rix
318a9926a2 Test that modifications preserve keys. 2015-11-05 11:50:37 -05:00
Rob Rix
7276b42d6f Test deep modifications replacing subtrees. 2015-11-05 11:49:07 -05:00
Rob Rix
d52c5ddedd Test that multiple modifications are not lost. 2015-11-05 11:46:41 -05:00
Rob Rix
b948f10dc1 Test simple updates to subtrees. 2015-11-05 11:46:01 -05:00
Rob Rix
839a62ff0c Test that locations are sequenced in depth-first pre-order. 2015-11-05 11:38:15 -05:00
Rob Rix
59ef9b1eb4 Test returning to the root. 2015-11-05 11:36:30 -05:00
Rob Rix
96b4d116da Test returning out of deep explorations. 2015-11-05 11:35:16 -05:00
Rob Rix
7a9a97ed03 Test recursive exploration of branches. 2015-11-05 11:34:25 -05:00
Rob Rix
6430f0222e Extract the other inner leaf. 2015-11-05 11:34:18 -05:00
Rob Rix
eda85a1e40 Rename the inner leaf. 2015-11-05 11:33:53 -05:00
Rob Rix
373076ffb3 Extract the keyed branch. 2015-11-05 11:32:00 -05:00
Rob Rix
07fdfc5abc Test that moving rightward is consistent with the data structure. 2015-11-05 11:29:41 -05:00
Rob Rix
3d0a53a6b4 Test that you can’t move left from the leftmost child of a branch. 2015-11-05 11:15:22 -05:00
Rob Rix
1444acf2a2 Extract another leaf. 2015-11-05 11:14:27 -05:00
Rob Rix
72b1313006 Rename the upper level leaf. 2015-11-05 11:14:04 -05:00
Rob Rix
d37f9bb355 Extract an inner leaf. 2015-11-05 11:13:50 -05:00
Rob Rix
3e0b3797d2 Test that we can move into branches. 2015-11-05 11:10:46 -05:00
Rob Rix
c46426d311 Correct the test of moving back up. 2015-11-05 11:10:08 -05:00
Rob Rix
18aa5bd2d4 Test that we can move back upwards in explorations. 2015-11-05 11:09:36 -05:00
Rob Rix
274fb6bfab Test that leaves are not branches. 2015-11-05 10:57:41 -05:00
Rob Rix
d0c9f27975 Test that the start of exploration can’t move sideways. 2015-11-05 10:57:30 -05:00
Rob Rix
23725c7fd6 Test that exploration starts at a root. 2015-11-05 10:57:07 -05:00
Rob Rix
1ec85928a3 Test the start of exploration. 2015-11-05 10:56:55 -05:00
Rob Rix
f13d2068ab Add some test fixtures. 2015-11-05 10:56:36 -05:00
Rob Rix
b60e3aac24 Stub in a test suite for Location. 2015-11-05 10:56:15 -05:00
Rob Rix
a646f03748 Switch on the right parameter. 2015-11-02 18:11:51 -05:00
joshvera
0718e49343 Capture the quoted range in members' keys 2015-10-27 13:28:35 -04:00
joshvera
007a984c02 fix test 2015-10-27 11:23:12 -04:00
joshvera
3802854f4e Add failing test 2015-10-26 15:05:58 -04:00
joshvera
29250af579 stub JSONParserTests 2015-10-26 13:31:09 -04:00
joshvera
20e2a520e6 add .Fixed to Syntax 2015-10-23 14:47:44 -04:00
Rob Rix
d5bf556cac Test that recursively-copied diffs do not contain patches. 2015-10-23 11:49:03 -04:00
Rob Rix
11ed1a855d Test that equal terms zip to non-nil. 2015-10-23 11:46:47 -04:00
Rob Rix
b194dede9a Add annotations to Free 😭
This is heartbreaking, but it was always going to end this way.
2015-10-22 18:55:28 -04:00
Rob Rix
3682aca8a0 Rename the convenience to avoid the method of the same name. 2015-10-22 18:54:10 -04:00
Rob Rix
6cca28582d Add a convenience to copy terms into diffs. 2015-10-22 18:51:14 -04:00
Rob Rix
d6a9be0794 Double down on annotations. 2015-10-22 16:02:03 -04:00
Rob Rix
b7a341b8b1 Correct omissions in the tests. 2015-10-22 10:43:20 -04:00
Rob Rix
c9b33f826c Add an annotation parameter to Free. 2015-10-22 10:30:38 -04:00
Rob Rix
a19101b89c Construct much smaller terms. 2015-10-19 12:44:59 -04:00