Skip to content
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

Add tests for hywconfig #416

Merged
merged 1 commit into from
Dec 9, 2023
Merged

Add tests for hywconfig #416

merged 1 commit into from
Dec 9, 2023

Conversation

matsl
Copy link
Collaborator

@matsl matsl commented Dec 7, 2023

What

Add tests for hywconfig.

Why

This has not been covered before and there is a bug with restoring named configs.

@matsl matsl force-pushed the add-hywconfig-tests branch from d26df68 to 5fe6999 Compare December 7, 2023 22:18
(ert-deftest hywconfig--add-by-name ()
"Verify config is added by name."
:expected-result :failed
;; See backtrace for the error - (wrong-type-argument listp #<window-configuration>)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this is the error. set:member gets a list instead of a single window-config!? Sounds related to the error in the current TODOs.

Both failing test cases are set with :expected-result :failed to not break the CI-build and make it easier to merge the PR for later updates related to the error. i.e. if you approve of the tests they can go in and then we can work on the fix in a separate PR.

@matsl matsl requested a review from rswgnu December 7, 2023 22:30
@matsl matsl merged commit c49c7b1 into master Dec 9, 2023
5 checks passed
@matsl matsl deleted the add-hywconfig-tests branch December 9, 2023 09:43
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