1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 18:23:44 +03:00
Commit Graph

1712 Commits

Author SHA1 Message Date
joshvera
89f307edf0 Don't pop off Params/Args from S.Function since type arguments can appear before or return types can appear after in some languages 2017-03-29 16:03:28 -04:00
joshvera
cdbd260b0f Remove type from Function and unpack call signatures 2017-03-29 12:36:05 -04:00
joshvera
d6334ac5a4 Update function call tests 2017-03-29 11:15:56 -04:00
joshvera
60b47317c1 Relax class heritage structure in Syntax.Class 2017-03-28 18:16:04 -04:00
joshvera
0058c371ec Map template_chars in JS and add missing Interface cases 2017-03-28 16:10:37 -04:00
joshvera
f86d43a6e5 Add namespace mapping 2017-03-28 15:43:21 -04:00
joshvera
d9c40de4e1 Update nested functions tests 2017-03-28 15:29:50 -04:00
joshvera
eeceeea4d2 Update template-string tests 2017-03-28 15:25:21 -04:00
joshvera
3e0efb7b61 Merge remote-tracking branch 'origin/batch-copy-terms' into typescript 2017-03-28 15:07:15 -04:00
joshvera
41915ff44a Update tests 2017-03-28 13:25:46 -04:00
joshvera
01a8087b0a Map public_field_definition to FieldDecl and fix up VarDecl and VarAssignment mappings 2017-03-28 13:00:15 -04:00
Rick Winfrey
5aebd2006a Rework loading of env vars 2017-03-28 09:41:16 -07:00
joshvera
285bd71606 Add function type and array type 2017-03-28 11:22:27 -04:00
joshvera
f2666fd5bd Add tuple type 2017-03-28 11:19:45 -04:00
Rick Winfrey
0e406f57d3 Use traverse_ with uncurry to setEnv in specs 2017-03-27 15:55:43 -07:00
Rick Winfrey
eaa5873ed7 Merge branch 'master' into gitmon-support 2017-03-27 15:38:18 -07:00
joshvera
31361d2306 Add interface, intersection, union type tests 2017-03-27 17:54:37 -04:00
joshvera
3d27c9dd3e Add type assertions tests 2017-03-27 17:27:18 -04:00
joshvera
d5e90bdfeb Add module declarations 2017-03-27 17:09:29 -04:00
joshvera
48f4310428 Add ambient type declarations 2017-03-27 17:08:07 -04:00
joshvera
92ff890b9e Add export assignments 2017-03-27 17:06:24 -04:00
joshvera
845dcc2cda Add ambient exports tests 2017-03-27 17:04:42 -04:00
joshvera
0d123d1936 Add typeof type tests 2017-03-27 17:02:51 -04:00
joshvera
40423e47d5 Add ambient declaration tests 2017-03-27 17:00:44 -04:00
joshvera
9c220b9fe1 Generate ambient declarations 2017-03-27 16:58:40 -04:00
joshvera
48d46489d1 Merge remote-tracking branch 'origin/master' into typescript-mapping 2017-03-27 12:05:06 -04:00
joshvera
4515e581bf add typescript 2017-03-24 17:10:03 -04:00
joshvera
62057c5605 Map public_field_definition to VarAssignment 2017-03-24 16:56:59 -04:00
Rick Winfrey
df8d777b82 escape "{" and "}" 2017-03-23 17:33:17 -07:00
Rick Winfrey
a71389e6e1 Remove unnecessary import 2017-03-23 17:08:21 -07:00
Rick Winfrey
3b8553f912 Trying to surface error 2017-03-23 17:05:57 -07:00
Rick Winfrey
f60f90045d Remove "\n" 2017-03-23 16:12:11 -07:00
Rob Rix
1ab51de582 Update the failing test’s fixture.
I’m pretty sure this is due to us producing a different shortest edit script than the old implementation (but still a correct one, and a shortest one—just a different correct/shortest one), and that in turn causing RWS to make different choices.
2017-03-23 14:21:09 -04:00
Rob Rix
a13c7f009f Correct the type annotations in the tests. 2017-03-23 14:14:03 -04:00
Rob Rix
759b5515f9 ses is the main entry point. 2017-03-23 13:28:40 -04:00
Rob Rix
77a58106d5 Merge remote-tracking branch 'origin/master' into myers-algorithm-in-proof-refinement-style 2017-03-23 10:58:19 -04:00
Rob Rix
41928ba594 Read the edit graph from the environment instead of passing it around. 2017-03-23 10:44:24 -04:00
Rob Rix
ce5af997c9 Test that our implementation of Myers’ algorithm is lossless. 2017-03-22 17:26:05 -04:00
Rob Rix
ec2c0c703c Renae the disjoint input test. 2017-03-22 17:20:37 -04:00
Rob Rix
210ac2b0b0 Test that the edit distance is respected. 2017-03-22 15:38:57 -04:00
Rick Winfrey
e5e2f948bd Restructure reader tests and make tests more readable 2017-03-21 14:49:24 -07:00
Rick Winfrey
9cf176a37d GitmonClient spec should not run in parallel 2017-03-21 14:48:47 -07:00
Rick Winfrey
773e808bdb Add invalid prefix with valid integer value test 2017-03-21 10:35:22 -07:00
Rick Winfrey
3e9d7f26bb Add valid prefix and mixed value with valid integer id followed by string 2017-03-21 10:35:03 -07:00
Rick Winfrey
aa50b85c24 Add valid prefix and mixed value with string before a valid integer id 2017-03-21 10:34:33 -07:00
Rick Winfrey
c2894e8a6d Add valid prefix, invalid string value test for user_id and repo_id
— Unfortunately, there are race conditions causing failures when
setting and reading environment variables in individual HSpec tests.
Despite removing `parallel` from the way these tests are run, I
continued to see races causing intermittent failures. This is an
unfortunate hack to combine invalid data tests within a single test
that enforces procedural order of setting and reading environment
variables without racing.
2017-03-21 10:33:37 -07:00
Rick Winfrey
4e653a1c9e 📝 purpose of sending "continue" to socket server 2017-03-21 10:31:14 -07:00
Rick Winfrey
d737ca4018 Expect userID and repoID to be sent to Gitmon 2017-03-20 18:09:59 -07:00
Rick Winfrey
16555c54b3 Merge branch 'master' into gitmon-support 2017-03-20 17:03:48 -07:00
Rob Rix
2556e0f1e1 Test that comparisons of the empty list against a list returns all values in That. 2017-03-20 11:32:03 -04:00