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

131 Commits

Author SHA1 Message Date
Patrick Thomson
0507db6a50 Second pass. Got a couple failures. 2019-11-08 22:50:16 -05:00
Rob Rix
a8a3bca972
Fix some missed language extensions. 2019-10-30 13:16:17 -04:00
Rob Rix
52ada3cdae
Use the abstracted evaluateProject helper. 2019-10-23 10:34:36 -04:00
Patrick Thomson
43e3fb4533 Remove unnecessary use of parallel. 2019-06-19 17:22:09 -04:00
Jan Hrček
ade8e8b265 Use isJust where applicable 2019-06-16 17:14:03 +02:00
Jan Hrček
915937c4be Fix some hlint warnings 2019-06-16 13:40:13 +02:00
Jan Hrček
ec4248cbb4 Fix warnings in tests
27 [-Wunused-matches]
 7 [-Wmissing-export-lists]
 6 [-Wunused-imports]
 5 [-Wmissing-signatures]
 2 [-Wincomplete-uni-patterns]
 1 [-Wunused-top-binds]
 1 [-Wtype-defaults]
2019-06-15 08:56:59 +02:00
Patrick Thomson
bfdb4a1de7 Clean up specs with some implicit parameters.
Test cases are a good use of `-XImplicitParams`, because often one
finds oneself plumbing a bunch of parameters obtained from IO through
a dozen layers of pure functions. Implicit parameters make this sort
of passing significantly easier.

Fixes #128.
2019-06-12 13:55:14 -04:00
Patrick Thomson
b8cb9d1bfa Remove unused imports. 2019-06-12 12:52:11 -04:00
Patrick Thomson
7aeb88227a Just don't optimize these specs for now. 2019-06-10 18:53:20 -04:00
Timothy Clem
70ea830460 Fix up test for ModuleInfo changes 2019-03-27 15:57:55 -07:00
Timothy Clem
ce04fa8f12 Refactor runTask 2019-02-01 15:04:23 -08:00
Rob Rix
4c796843e7 🔥 all the non-empty lists in the specs. 2018-12-11 13:07:45 -05:00
Rob Rix
96949fd9fb 🔥 a redundant import. 2018-12-10 11:38:33 -05:00
Rob Rix
0b36f9bad1 Module results hold values. 2018-12-07 15:23:03 -05:00
Rob Rix
f2c9083708 Correct the span of the error in the Ruby spec.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-12-06 13:02:18 -05:00
joshvera
a2026e8ada Add valueRef tests back 2018-12-05 12:44:52 -05:00
joshvera
60ad7e7263 Bring back valueRef tests 2018-12-05 12:22:32 -05:00
joshvera
73ae9f85a1 Deref slots in evalRubyProject
Co-Authored-By: Rob Rix <rob.rix@github.com>
2018-12-05 12:12:13 -05:00
joshvera
4f071f46ac Remove valueRef tests
It's be nice to deref these in evaluate
2018-12-04 18:15:24 -05:00
Rick Winfrey
068b79a923 Use qualified lookupDeclaration 2018-11-28 17:38:52 -08:00
Rick Winfrey
4931670c81 Fix up Ruby tests 2018-11-28 16:59:05 -08:00
joshvera
96badd080f fix this test
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 18:48:23 -05:00
joshvera
65a8949a06 Fix the shape of scope and heap outputs in testEvaluating
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-28 18:47:10 -05:00
joshvera
f6bfec2d96 the tests compile! 2018-11-08 18:22:35 -05:00
joshvera
22bdbdfafe Fix up import conflicts
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-08 12:55:42 -05:00
joshvera
0c35a8a95c Start fixing up tests
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-07 18:27:56 -05:00
Rob Rix
83ac081cec SomeError. 2018-10-24 10:32:05 -04:00
Rob Rix
512415db6a Fix the import of SomeError. 2018-10-24 10:11:27 -04:00
Rob Rix
6affc61d26 The tests pass. That’s all that matters. 2018-09-25 15:17:06 -05:00
joshvera
eb71b512b3 Fix test type errors 2018-09-14 18:04:08 -04:00
Rob Rix
bc4674dbf6 🔥 ns. 2018-08-09 16:13:54 -04:00
Rick Winfrey
77c8867907 No longer need these imports 2018-08-08 10:31:59 -07:00
Rick Winfrey
383b6208ee Rename ErrorContext -> BaseError 2018-08-07 16:50:55 -07:00
Rick Winfrey
7bcd7d7fc8 Update tests 2018-08-07 16:45:44 -07:00
Rick Winfrey
cdedb5d893 Update tests 2018-08-07 10:48:01 -07:00
Rick Winfrey
823ae6ac51 Merge branch 'master' into error-context 2018-08-06 13:46:42 -07:00
Rick Winfrey
adfb20dadd Update Ruby.Spec 2018-08-03 17:11:21 -07:00
Rob Rix
ea69b5a6d3 Only pass a proxy to evaluateProject. 2018-08-02 10:24:55 -04:00
Charlie Somerville
8642cb4e1f fix method name order assertion in subclass spec 2018-07-23 17:42:03 +10:00
Charlie Somerville
de80f1906e fix SpecHelpers to hit heap for namespaces 2018-07-19 17:03:17 +10:00
Rob Rix
40d46e921d Pass the configuration to the analysis specs. 2018-07-10 14:09:22 -04:00
Rob Rix
bcbc70446c Merge branch 'charliesome/substitution' into abstract-abstract-semantics 2018-07-05 14:15:01 -04:00
Rob Rix
5100670e72 Rename Data.Abstract.Value to Data.Abstract.Value.Concrete. 2018-07-03 14:22:26 -04:00
Rob Rix
a236328056 Merge branch 'master' into higher-order-effects 2018-06-26 15:14:28 -04:00
Rob Rix
dad58e7c20 Fix the Ruby specs. 2018-06-25 17:28:35 -04:00
Rob Rix
f70974e206 Fix up the TypeScript specs.
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-06-25 15:57:04 -04:00
Rob Rix
613e6b79bb Make more effort to show the errors in the Ruby spec. 2018-06-25 09:30:54 -04:00
Rob Rix
903f048889 Don’t bind the heap when we aren’t using it. 2018-06-22 15:57:12 -04:00
Rob Rix
428b5a31dc These all import foo. 2018-06-22 15:47:31 -04:00