Skip to content

Conversation

@ono-max
Copy link
Member

@ono-max ono-max commented Mar 26, 2022

No description provided.

@ono-max ono-max marked this pull request as draft March 26, 2022 10:47
@ono-max ono-max force-pushed the patch-63 branch 3 times, most recently from 371f9b9 to 904334c Compare March 27, 2022 00:24
@ono-max ono-max marked this pull request as ready for review March 27, 2022 13:25
@st0012
Copy link
Member

st0012 commented Mar 27, 2022

@ono-max this probably deserves another PR, but can we also support checking error messages? like

assert_hover_result({ error: "Not defined global variable: \"$bar\"" }, "$bar")

currently the test would just fail if it received an error response, even though that's exactly what I want to test.

an example would be, the debugger console skips a list of global vars but the servers don't. if we want to align servers' behavior with the console, we need to be able to test the error conditions to make sure those vars are skipped.

@ono-max
Copy link
Member Author

ono-max commented Mar 28, 2022

Nice catch. We should support it, too.

@st0012
Copy link
Member

st0012 commented Apr 30, 2022

@ono-max I think this can be merged but there seems to be conflicts?

@ko1 ko1 merged commit be704e3 into ruby:master Jul 5, 2022
@ono-max ono-max deleted the patch-63 branch July 5, 2022 08:14
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.

3 participants