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

88 Commits

Author SHA1 Message Date
Timothy Clem
250ede0eec Corpus test updates from changing assignment 2019-12-20 10:47:42 -08:00
Patrick Thomson
bebf5124bc Regenerate test cases 2019-09-17 16:05:01 -04:00
Max Brunsfeld
07ccbb8966 Handle JSX elements with type arguments
Also, add a unit test for JSX in JavaScript.

Co-Authored-By: Rick Winfrey <rewinfrey@github.com>
2019-08-21 10:31:32 -07:00
joshvera
016f6ea0ed Regenerate tests and eval variable declarations 2019-02-11 17:43:19 -05:00
Rick Winfrey
7789ea6d32 Regen fixtures 2019-01-30 16:05:54 -08:00
Rick Winfrey
4becc96bf2 Update fixtures
Co-Authored-By: Rob Rix <robrix@github.com>
2019-01-28 11:43:41 -08:00
Rick Winfrey
736ead4ade Update fixtures 2019-01-18 18:21:36 -08:00
joshvera
080ac13872 Regen unit tests 2018-12-10 12:15:54 -05:00
Rick Winfrey
66d3044951 Merge branch 'master' into heap-frames 2018-11-15 13:44:06 -08:00
joshvera
4769c2cb24 regenerate javascript fixtures
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-15 13:27:37 -05:00
Timothy Clem
bdb7ee0430 More tests 2018-11-05 13:09:37 -08:00
Timothy Clem
cd3233549a WIP, language translation as an additional step in pipeline 2018-08-17 15:17:14 -07:00
Timothy Clem
b39721ec4f Be consistent with 2 spaces for now 2018-08-15 14:01:53 -07:00
Timothy Clem
487c78b854 Merge remote-tracking branch 'origin/master' into source-aware-reprinter 2018-08-13 15:56:26 -07:00
Rick Winfrey
062fa896a4 Update test fixtures 2018-08-09 18:41:58 -07:00
Patrick Thomson
805cea9000 a 'contextually' node exists 2018-08-07 14:09:50 -04:00
Patrick Thomson
0a82d053d9 Found the bug: defaulting whenRefactored was wrong. 2018-08-01 12:13:10 -04:00
Patrick Thomson
88cd915ced working reprinting tests 2018-07-30 20:05:44 -04:00
Patrick Thomson
a61fe301c4 Skeleton and initial test case 2018-07-30 16:00:09 -04:00
Rick Winfrey
8da0e3910c Add javascript specific export test files 2018-07-12 16:56:27 -07:00
joshvera
3a32256b38 Fix imports tests 2018-07-03 11:57:42 -04:00
joshvera
d3c912784b Fix tests 2018-06-22 14:19:01 -04:00
Rob Rix
83ee082259 Regenerate all of the affected fixtures. 2018-06-06 10:35:47 -04:00
Patrick Thomson
dd4a939f21 merge fallout 2018-06-04 12:18:02 -04:00
Patrick Thomson
7c9b1ec17e Merge remote-tracking branch 'origin/master' into text-names 2018-06-04 11:46:54 -04:00
Timothy Clem
359031d777 s/Program/Statements in all of the tests 2018-06-01 11:44:03 -07:00
Timothy Clem
d05225fe61 Test fixes 2018-05-31 08:44:44 -07:00
Patrick Thomson
d144087486 Merge remote-tracking branch 'origin/master' into text-names 2018-05-30 23:51:11 -04:00
Patrick Thomson
7ba832d566 Fix tests. 2018-05-30 18:29:54 -04:00
Timothy Clem
2d08451d87 Call [] Statements 2018-05-29 14:25:31 -07:00
Patrick Thomson
eaa54a3230 Add strict-equality function.
TypeScript, JavaScript, and PHP support an === operator, which
corresponds to strict equality (usually the equality you want). I've
added a constructor to Comparison that takes care of this. Actually
implementing non-strict equality for the above languages will have to
wait until we can build behavior a la carte.

I chose not to add Ruby's case-equality operator, though it uses ===,
since the behavior is so different. (For example, a === a is not
always true over Ruby's ===).
2018-05-23 11:28:31 -04:00
Rob Rix
e9238d0ec7 Merge branch 'master' into package-dot-json-parsing 2018-05-16 19:12:08 -04:00
Rob Rix
101798fd39 Update a bunch of fixtures. 2018-05-16 16:38:40 -04:00
Timothy Clem
7137c057b4 Fix up example a bit 2018-05-16 10:43:38 -07:00
Timothy Clem
453f60ee36 Some example js code for various module require/resolution options 2018-05-16 10:21:24 -07:00
Patrick Thomson
6f63463269 Remove explicit Paren node from syntax trees.
As @robrix pointed out, adding explicit parenthesis nodes to our ASTs
bloats them with no added gain in expressivity. A pretty-printing
solution should use something analogous to `showsPrec` to ensure that
parentheses are printed properly.
2018-04-23 11:00:10 -04:00
Timothy Clem
b9857cd033 Move the toc test fixtures around too 2018-04-18 13:42:29 -07:00
Timothy Clem
ea0afa1747 Move corpus tests into their own dir 2018-04-18 13:33:17 -07:00
Timothy Clem
ab0a6072b8 Some JavaScript analysis fixtures 2018-04-13 10:52:31 -07:00
Patrick Thomson
d31e3eca88 fix ALL the test failures 2018-04-06 13:05:28 -04:00
Timothy Clem
4b9caec4c5 Fix up tests for Name wrapper 2018-04-04 08:59:13 -07:00
Timothy Clem
275d558843 Javascript import assignment changed - update fixtures 2018-04-02 15:20:31 -07:00
Timothy Clem
e2d13b6cdc Fix up specs 2018-03-27 10:20:28 -07:00
Timothy Clem
aeb49477a1 Update integration fixtures for changes to assignment 2018-03-14 16:13:41 -07:00
Timothy Clem
750cfc6b17 Merge remote-tracking branch 'origin/typescript-exports' into more-typescript-imports 2018-03-09 12:46:58 -08:00
joshvera
b26ec32a00 Fix tests 2018-03-08 19:05:27 -05:00
Timothy Clem
f76b7e4a2d Bunch of test fixes due to TypeScript assignment changes 2018-03-08 15:05:41 -08:00
Timothy Clem
24a470ba7a FreeVariable Name as NonEmpty List 2018-03-08 09:34:09 -08:00
Timothy Clem
948162c88d Fix up tests again 2018-03-08 07:57:18 -08:00
Timothy Clem
61f6d0314b Fix up a few tests 2018-03-06 11:02:29 -08:00