mirror of
https://github.com/immich-app/drift.git
synced 2026-09-30 13:22:57 +08:00
Update expected message in test
This commit is contained in:
@@ -370,7 +370,9 @@ class WithConstraints extends Table {
|
||||
.withSpan('customConstraints')
|
||||
]);
|
||||
expect(withConstraints.errorsDuringAnalysis, [
|
||||
isDriftError('This must be a string literal.').withSpan('1'),
|
||||
isDriftError(contains(
|
||||
'can only verify custom constraints set as constant string literals'))
|
||||
.withSpan('1'),
|
||||
isDriftError('Could not parse this table constraint').withSpan("'two'"),
|
||||
isDriftError('Could not parse this table constraint').withSpan("'three'"),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user