Auguste Rame
779c3c0710
Hacky mess but it works (only if your function is the first root decl tho :P)
2022-11-08 14:37:13 -05:00
Auguste Rame
06e8756849
Add struct test
2022-11-08 14:37:13 -05:00
Auguste Rame
d2640a44ac
comptime interpreter moment
2022-11-08 14:37:01 -05:00
Techatrix
7a7576c06d
fix symbol references ( #712 )
...
* fix symbol references
* skip references for inline assembly
2022-10-29 04:37:52 -04:00
Techatrix
13f3b200bc
add tests for completion ( #719 )
2022-10-27 16:25:44 -04:00
Techatrix
a9a1fad13e
remove types.TextDocument ( #693 )
...
* remove types.TextDocument
* resolve compile errors because of previous merge
2022-09-30 20:45:45 -04:00
Techatrix
51356517a9
Self hosted fixes ( #682 )
...
* fix compiler errors when using self-hosted
* move parameters into builder struct
* simplify code when using self hosted
* fix stage2 error `cast discards const qualifier`
* correctly return after finding method
* fix position context tests on self hosted
* remove unnecessary comptime in position context tests
2022-09-30 00:04:55 -04:00
Matt Knight
6ec6d4ea36
Revamp bulid.zig discovery ( #688 )
...
* walk down tree instead of up for build.zig discovery
* account for windows URIs in tests
2022-09-28 23:12:34 -04:00
Techatrix
5fa7656314
update snippets
2022-09-25 03:09:54 +02:00
Techatrix
176bf17d15
remove sessions.zig
2022-09-25 02:44:38 +02:00
Techatrix
e9e9571fe5
avoid config copy for document store ( #669 )
2022-09-21 21:31:48 -04:00
Techatrix
7f4f002380
Testing improvements ( #662 )
2022-09-18 22:47:06 +00:00
Techatrix
e28549fa7d
Completely overhaul offsets.zig ( #643 )
...
* completely overhaul offsets.zig
2022-09-16 00:33:49 +00:00
Techatrix
5c9c0c316c
fix warning in session test
2022-09-12 00:05:26 +02:00
Techatrix
6933e1598a
move updated units_test.zig into tests directory
2022-09-11 00:07:01 +02:00
Techatrix
bcf8bc7094
set custom config for tests
2022-09-03 15:21:56 +02:00
Techatrix
8d72c802ff
use comptime in tests.zig
2022-08-26 20:23:07 +02:00
Techatrix
865a2713cd
add tests for cimport
2022-08-26 16:53:44 +02:00
Techatrix
4c0fe6428d
add tests for inlay hints
2022-08-26 16:53:02 +02:00
Techatrix
f0b71f3861
add tests for semantic tokens
2022-08-26 16:51:43 +02:00
Techatrix
f6082e837d
prepare testing framework
...
- allow source files from tests as a package
- use `tests/tests.zig` as the entry point
- add `Context.requestAlloc`
2022-08-26 16:45:22 +02:00
Techatrix
dc3199cffa
unmanage all the code
2022-08-23 12:44:26 +02:00
Techatrix
c9d41650da
fix 'Cannot resolve std library import'
2022-08-05 13:01:39 +02:00
Techatrix
5d4c68e9c5
Add missing tests
2022-08-03 23:29:03 +02:00
Techatrix
e562d4cf4c
move Context into Context.zig
2022-08-03 23:11:55 +02:00
Techatrix
fca78a98b0
move ArenaAllocator into Server
2022-08-01 00:44:07 +02:00
Techatrix
805148125c
revive session tests
2022-07-31 23:39:33 +02:00
Auguste Rame
913d6aee9d
Fix tests for real? ( #562 )
...
* Actually a horrible patch
2022-07-25 16:09:54 -04:00
Techatrix
0ecdeeecb1
Implement textDocument/inlayHint ( #559 )
...
* Implement textDocument/inlayHint
* Add corresponding Config options
2022-07-24 07:38:13 -04:00
Auguste Rame
37f79c86fa
Fix CI?
...
I really need to fix Zig's error handling on message send failure, it's so bad 😭
2022-07-11 20:28:50 +02:00
Auguste Rame
3f880a0c40
Tests pass?
2022-07-08 04:26:31 -04:00
ryuukk
7fa58ae1b8
Update test
2022-07-07 03:09:44 -04:00
Lee Cannon
ffe9598fbd
fix tests
2022-05-29 18:45:08 +01:00
Lee Cannon
4f04f7dac0
std.ChildProcess.init
cannot error
2022-05-29 18:18:57 +01:00
Meghan Denny
09d51af161
handle AccessDenied when making 'builtin.zig' fill-in
2021-12-29 22:53:30 -08:00
Meghan Denny
304c9bec2f
only print stderr
2021-12-29 22:47:12 -08:00
Meghan Denny
81818e3319
investing in debugging tools
2021-12-29 22:44:24 -08:00
Meghan Denny
56fccdefd5
add back FIXME comment
2021-12-29 22:24:33 -08:00
Meghan Denny
29e43a60ae
cant repro locally
2021-12-29 22:23:01 -08:00
Meghan Denny
578265f3e6
cleanup tests
2021-12-29 21:56:17 -08:00
Meghan Denny
b99c13ceef
match other tests
2021-12-29 21:45:32 -08:00
Lee Cannon
90f8109639
Update to use @import("builtin") where required
2021-10-07 12:53:31 +01:00
Lee Cannon
fbdc07d4b1
make tests pass
2021-09-01 15:57:37 +01:00
Lee Cannon
b1fee2dad2
Fix tests
2021-06-26 21:13:00 +01:00
Alexandros Naskos
f8b9d3bfcb
Fixed zls path in session tests
2021-05-03 15:46:24 +03:00
Alexandros Naskos
91643c04c9
Fixed integer overflow in semantic_tokens.Builder.handleComments
2021-05-03 15:36:29 +03:00
Alexandros Naskos
0e5a91d4fc
Fixed zls path in session tests
2021-05-03 14:08:59 +03:00
Jonathan Hähne
f61c9d8d4f
Run zig fmt
2021-04-15 18:17:06 +02:00
Jonathan Hähne
b90c9b49ac
Fix inclusion of toplevel doc comments, remove @async recursion in
...
writeNodeTokens, add a few regression tests
2021-04-15 11:07:43 +02:00
Jonathan Hähne
0e4f4c1e04
Improve testing infrastructure
...
It should now be a bit easier to set up a test and see how it failed.
2021-04-07 15:10:18 +02:00