Skip to content

Commit

Permalink
test: Update the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinVignal committed Jan 22, 2024
1 parent 9d6079f commit 84e9b36
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,12 @@ CREATE TABLE users (
isDriftError(contains('must accept String')).withSpan('tc<int, int>()'),
isDriftError(contains('has a type converter with a nullable SQL type'))
.withSpan('tc<String, String?>()'),
isDriftError(contains('This column is nullable'))
.withSpan('tc<String?, String>()'),
isDriftError(allOf([
contains('This column is nullable'),
contains(
'Try wrapping the converter in `JsonTypeConverter2.asNullable`',
)
])).withSpan('tc<String?, String>()'),
],
);

Expand Down

0 comments on commit 84e9b36

Please sign in to comment.