-
Notifications
You must be signed in to change notification settings - Fork 116
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 makedate function to MysqlSqlModule #655 #671
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one comment and its good to go.
Also please format. I might have broken formatting when I was resolving conflicts from github directly.
val assertion = for { | ||
r <- testResult.runCollect | ||
} yield assert(r.head)(equalTo(expected)) | ||
|
||
assertion.mapErrorCause(cause => Cause.stackless(cause.untraced)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets simplify with
assertZIO(testResult.runHead.some)(equalTo(expected))
@@ -4,6 +4,7 @@ import java.sql.ResultSet | |||
import java.time.{ LocalDate, Year } | |||
|
|||
import zio.sql.Sql | |||
import java.time.LocalDate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated import. LocalDate is imported couple of lines above.
No description provided.