Skip to content

No longer provide a feature in test-helper.el #395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 19, 2017
Merged

No longer provide a feature in test-helper.el #395

merged 1 commit into from
Sep 19, 2017

Conversation

tarsius
Copy link
Contributor

@tarsius tarsius commented Apr 11, 2017

The file isn't a library intended to be loaded with require.
Instead ert-runner loads it using load. Other packages that
use ert-runner also come with a file named test-helper.el and
unfortunately many of those also provide test-helper, which
leads to conflicts.

Fixes #390.

The file isn't a library intended to be loaded with `require`.
Instead `ert-runner` loads it using `load`.  Other packages that
use `ert-runner` also come with a file named test-helper.el and
unfortunately many of those also provide `test-helper`, which
leads to conflicts.

Fixes #390.
@tarsius
Copy link
Contributor Author

tarsius commented Jul 15, 2017

Friendly ping!

@tonini
Copy link
Contributor

tonini commented Sep 19, 2017

@tarsius Es duet mir huere leid das ig so lang nid gantwortert ha, bi grad chli usbalanciert im läbe. :-)
Merci viu mau für dä PR 💚

@tonini tonini merged commit 8617881 into elixir-editors:master Sep 19, 2017
@tarsius
Copy link
Contributor Author

tarsius commented Sep 19, 2017

Isch kei Problem. I hof skunnt alles widr ins Lot und s git sichr wichtigrs als söttig Prs.

J3RN pushed a commit to J3RN/emacs-elixir that referenced this pull request Apr 24, 2021
* Purge consolidated protocols before compilation

Fixes elixir-editors#395

* move to dialyzer_test.exs

* add comments

* warn if ls fails
J3RN pushed a commit to J3RN/emacs-elixir that referenced this pull request Apr 24, 2021
* Purge consolidated protocols before compilation

Fixes elixir-editors#395

* move to dialyzer_test.exs

* dialyzer_enabled? is already asserted at call site

* add argument type assertions

* return invalid_param when handling a request involving not open uri

* add tests for text synchronization

fixes some issues when certain sequence of notifications would create nil entries in source_files map

* warn when cancelling unknown request

* fix difference in watched extensions

* add tests to workspace/didChangeWatchedFiles

fix some consistency issues:
dirty? flag not updated when file modified outside (no didSave)
rebuild not triggered when opened dirty file modified outside

* add tests for SourceFile.apply_content_changes

based on https://github.com/microsoft/vscode-languageserver-node
fixes a few edge cases when dealing with invalid ranges

* add test

* add utf test

* add test

fix full_range invalid when last line with unicode

* fix apply_content_changes not preserving windows line endings

* wip

* do not warn if consolidation path does not exist

* fix tests

* return invalid_request

* handle invalid uri in async requests

* return invalid_request for not matched commands

* handle client request errors

* run formatter

* rename

* Refactor implementation of SourceFile.lines_with_endings

The previous implementation did not have any bugs (that I saw), but I
did find it more difficult to read and understand. I expect performance
to be comparable.

For more comprehensive testing I have added StreamData which adds
property-based testing. We can probably use that in other portions of
the code base as well.

* Update apps/language_server/test/source_file_test.exs

Co-authored-by: Jason Axelson <[email protected]>

* run formatter

* add disclaimer

* combine lines_with_endings test cases

Co-authored-by: Jason Axelson <[email protected]>
Co-authored-by: Jason Axelson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants