aboutsummaryrefslogtreecommitdiff
path: root/crates/test_utils
Commit message (Collapse)AuthorAgeFilesLines
...
* unindent -> dedentAleksey Kladov2020-05-091-1/+1
|
* Allow fixture strings with unindented first lineTimo Freiberg2020-05-061-9/+95
| | | | | | | | | This allows fixtures like "//- /lib.rs ... //- /foo.rs ... "
* text-size 1.0.0Aleksey Kladov2020-04-251-1/+1
|
* Convert code to text-sizeAleksey Kladov2020-04-252-14/+14
|
* Make records grammar more orthogonalAleksey Kladov2020-04-111-1/+1
| | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler
* Rename some tokensAleksey Kladov2020-04-101-1/+1
|
* Migrate tests .txt -> .rastveetaha2020-04-061-18/+16
| | | | | | | | The sytax tree output files now use .rast extension (rust-analyzer syntax tree or rust abstract syntax tree (whatever)). This format has a editors/code/ra_syntax_tree.tmGrammar.json declaration that supplies nice syntax highlighting for .rast files.
* Move verbose tests out of lineAleksey Kladov2020-03-131-1/+2
|
* Check only one fixtureEdwin Cheng2020-03-101-1/+6
|
* Add fixture meta for single file fixtureEdwin Cheng2020-03-101-0/+8
|
* Support cross-crate marksAleksey Kladov2020-03-041-3/+12
|
* Use text_range::extend_toEdwin Cheng2020-02-271-1/+1
|
* Remove code duplication in testsAleksey Kladov2020-02-261-0/+1
|
* Update versionsKirill Bulatov2020-02-181-2/+2
|
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-1/+1
|
* Simplify fixture parsingAleksey Kladov2020-01-301-21/+8
|
* Simplify fixture parsingAleksey Kladov2020-01-291-20/+19
|
* test_utils: move flush!() to its usage as per conversation with @matkladVeetaha2020-01-291-13/+13
|
* test_utils: updated documentation and some typosVeetaha2020-01-292-11/+43
|
* Refactor goto tests to always specify textsAleksey Kladov2019-12-181-2/+2
|
* Skip slow tests by defaultAleksey Kladov2019-12-071-0/+11
|
* Disable doctestsAleksey Kladov2019-11-172-2/+5
|
* support range selection in assist docsAleksey Kladov2019-10-261-3/+31
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* translate \n -> \r\n on the way outAleksey Kladov2019-08-201-9/+13
|
* Remove unused dependenciesShotaro Yamada2019-07-081-1/+0
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-2/+2
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* Fix clippy::expect_fun_callAlan Du2019-06-041-1/+1
|
* fix error on wrong pathAleksey Kladov2019-03-171-2/+2
|
* remove ignored macro testsAleksey Kladov2019-02-191-1/+1
| | | | | we need to significantly reengineer macros, so the tests as they exist are useless
* Fix some typosPascal Hertleif2019-02-122-5/+7
|
* Fix typo in Cargo.toml authorsVille Penttinen2019-02-111-1/+1
| | | | Fixes typo introduced in #782
* Update authors field in Cargo.tomls to "rust-analyzer developers"Ville Penttinen2019-02-111-1/+1
| | | | This closes #777
* reformat the worldAleksey Kladov2019-02-082-30/+12
|
* refactor import resolutionAleksey Kladov2019-01-251-2/+4
| | | | | extract path resolution use enums instead of bools
* generalize marking infrastructureAleksey Kladov2019-01-232-2/+87
|
* switch to insta for testingAleksey Kladov2019-01-151-8/+0
|
* fix indent caclulationAleksey Kladov2019-01-131-10/+10
|
* Bump serde_json from 1.0.33 to 1.0.34dependabot[bot]2018-12-311-1/+1
| | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.33 to 1.0.34. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.33...v1.0.34) Signed-off-by: dependabot[bot] <[email protected]>
* Bump itertools from 0.7.11 to 0.8.0dependabot[bot]2018-12-271-1/+1
| | | | | | | Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.7.11 to 0.8.0. - [Release notes](https://github.com/bluss/rust-itertools/releases) - [Commits](https://github.com/bluss/rust-itertools/compare/0.7.11...0.8.0) Signed-off-by: dependabot[bot] <[email protected]>
* Add testing infrastructure for type inferenceFlorian Diebold2018-12-231-0/+99
| | | | - move dir_tests to test_utils for that.
* organize completion tests betterAleksey Kladov2018-12-211-12/+10
|
* fold curly blocksAleksey Kladov2018-12-201-0/+1
|
* generalize folding testsAleksey Kladov2018-12-201-7/+31
| | | | By using xml-like tags, we will be able to test nested foldings.
* Use json comparison code from cargo for heavy testsFlorian Diebold2018-12-062-0/+95
|
* modernize some codeAleksey Kladov2018-12-061-5/+2
|
* Reformat allAleksey Kladov2018-10-311-14/+17
|
* Add MockAnalysis to make testing easierAleksey Kladov2018-10-311-5/+21
|
* extract fixture parsingAleksey Kladov2018-10-311-0/+42
|
* Cargo FormatJeremy A. Kolb2018-10-161-2/+2
| | | | Run `cargo fmt` and ignore generated files