Skip to content

Conversation

@PaulOstazeski
Copy link

@PaulOstazeski PaulOstazeski commented Jul 10, 2024

This is a copy of ateliware#95 - resolving deprecations related to upgrading to elixir 1.17

The error messages in these tests were more verbose, echoing back the
original query. Rather than expand the expected string, matching on the
more relevant portion of the observed string (including the error codes)
seemed more tenable.

I'm also uncertain if the version (or a setting) of mysql may impact the
verbosity of the returned error message.
* Logger has changed "warn" to "warning" level
* "module.__function__" now outputs a warning message about implicit
  function calls, suggests using "module.__function__()"
* Exception.exception?/1 replaced by Kernel.is_exception/1
* Regex.regex?/1 replaced by Kernel.is_struct/2
* Some ecto callbacks take different numbers of parameters, so
  TestAdapter no-op function implementations updated.
Regenerate credo config, keeping opted-in checks, using very slightly
relaxed parameters for duplicated code and nesting (both 3 over defaults
of 2).
@PaulOstazeski PaulOstazeski merged commit fb630e0 into Allovue:master Jul 10, 2024
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.

1 participant