1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
Commit Graph

5451 Commits

Author SHA1 Message Date
Rob Rix
a22ac1ea31 🔥 the splitPatchByLines test. 2016-03-11 12:10:56 -05:00
Rob Rix
ebd4cc7369 Split the let bindings onto a new line. 2016-03-11 12:10:01 -05:00
Rob Rix
d35738ef73 Extract the patch into a let binding. 2016-03-11 12:09:46 -05:00
Rob Rix
ceb4a0b0ec Extract the ranges into a let binding. 2016-03-11 12:06:47 -05:00
Rob Rix
175fc3077e Reformat the ToMarkup instance across multiple lines. 2016-03-11 12:05:16 -05:00
Rob Rix
eb6133da70 Document childLines. 2016-03-11 12:00:06 -05:00
Rob Rix
78a095ceb7 Document adjoinChildren. 2016-03-11 11:54:39 -05:00
Rob Rix
48792bedbf Merge branch 'master' into data-dot-adjoined 2016-03-11 11:52:26 -05:00
Josh Vera
0eb79b57f6 Merge pull request #508 from github/smaller-arbitrary-terms
Smaller Arbitrary terms
2016-03-11 11:38:08 -05:00
Rob Rix
e5f34dccd3 Scale the arbitrary term sizes down. 2016-03-11 09:22:17 -05:00
Rob Rix
233c7bc13f 🔥 a redundant import. 2016-03-11 01:14:31 -05:00
Rob Rix
cd844d7a00 🔥 zipDefaults. 2016-03-11 01:06:09 -05:00
Rob Rix
693f91b93c 🔥 bothOfThese. 2016-03-11 01:05:54 -05:00
Rob Rix
8be4e9bc83 Vendor the test/diffs-todo dir. 2016-03-11 00:53:41 -05:00
Rob Rix
be4f8551b6 Add a (deferred) fixture with asymmetrical context. 2016-03-11 00:50:48 -05:00
Rob Rix
e6bed33093 Defer a bunch of other tests too. 2016-03-11 00:43:19 -05:00
Rob Rix
00f58ece6a Disable the aligning closed lines test. 2016-03-11 00:41:18 -05:00
Rob Rix
e1f115a739 Defer on the simple insert test for now. 2016-03-11 00:38:40 -05:00
Rob Rix
ada35d21cd Defer on the reformat fixture too for now. 2016-03-11 00:37:00 -05:00
Rob Rix
2ceb04eb79 Tweak to the nested insert fixture. 2016-03-11 00:36:21 -05:00
Rob Rix
a4c3776456 Defer on the multiline insert test. 2016-03-11 00:34:51 -05:00
Rob Rix
39dd494c80 Don’t close empty lines when aligning. 2016-03-10 20:14:02 -05:00
Rob Rix
55318b5f2b Name a bunch of parts of childLines. 2016-03-10 20:06:16 -05:00
Rob Rix
37865cc509 The Align instance for List pads from the start. 2016-03-10 20:05:46 -05:00
Rob Rix
c750a98f4b Use alignRows in the tests. 2016-03-10 19:48:28 -05:00
Rob Rix
62cdbacdfe Test that child alignment is preserved. 2016-03-10 17:48:17 -05:00
Rob Rix
572819b683 Line’s Applicative instance preserves closedness. 2016-03-10 17:48:13 -05:00
Rob Rix
186337fd4d The line isn’t gonna get any closeder. 2016-03-10 17:40:01 -05:00
Rob Rix
736e7b95c7 Write the closed rows as Closed "". 2016-03-10 15:47:10 -05:00
Rob Rix
257c538300 Correct the expectation of the aligning test. 2016-03-10 15:46:31 -05:00
Rob Rix
68c34c11b4 Align the rows. 2016-03-10 15:45:55 -05:00
Rob Rix
9c0b512092 Make that Row Char. 2016-03-10 15:45:23 -05:00
Rob Rix
3d8df9bc4f Test against Row String. 2016-03-10 15:44:36 -05:00
Rob Rix
bfb02f420e Fix the open row test. 2016-03-10 15:44:07 -05:00
Rob Rix
d84b112d91 Make the align parameter explicitly act on Lines. 2016-03-10 15:39:07 -05:00
Rob Rix
1812bd6415 Construct arbitrary closed lines. 2016-03-10 15:38:19 -05:00
Rob Rix
10d27cf4e8 Define mappend using lineMap to preserve the constructor. 2016-03-10 15:28:29 -05:00
Rob Rix
5e950062e4 Correct the test of line count preservation. 2016-03-10 15:25:00 -05:00
Rob Rix
0361a5ea8c alignRows to pad out diffs. 2016-03-10 15:20:08 -05:00
Rob Rix
b2e8a0698a Correct the row prepending test. 2016-03-10 15:18:55 -05:00
Rob Rix
264cd8cbff Document alignRows. 2016-03-10 15:07:49 -05:00
Rob Rix
7572ddb79c Add a function to align rows.
This takes over from zipDefaults.
2016-03-10 15:06:03 -05:00
Rob Rix
2c8f16403d bothOfThese takes Both defaults. 2016-03-10 14:55:03 -05:00
Rob Rix
8ff5cd101d Rename the adjoinRows spec. 2016-03-10 14:52:06 -05:00
Rob Rix
85d164f057 Define wrapLineContents using lineMap. 2016-03-10 14:44:13 -05:00
Rob Rix
6e8756246b Add a function to map the whole list of a Line’s contents while preserving the constructor. 2016-03-10 14:38:40 -05:00
Rob Rix
1694caa289 Document bothOfThese. 2016-03-10 14:00:35 -05:00
Rob Rix
d230f4c406 Add an instance of Crosswalk for Maybe. 2016-03-10 14:00:27 -05:00
Rob Rix
b8d2d54e30 Add an instance of Align for Maybe. 2016-03-10 14:00:14 -05:00
Rob Rix
998a7f9543 Revert "Remove the default implementation for alignWith."
This reverts commit 3edafd3fb2c75c3664bbd05dc06dbcf601f8748c.
2016-03-10 13:47:02 -05:00