Skip to content

Commit 3bef78b

Browse files
Adjust test
1 parent ae0df05 commit 3bef78b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fdb-relational-core/src/test/java/com/apple/foundationdb/relational/recordlayer/query/StandardQueryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ void testNamingStructsDifferentTypesThrows() throws Exception {
12201220
RelationalAssertions.assertThrowsSqlException(
12211221
() -> statement.execute("select struct asd (a, 42, struct def (b, c), struct def(b, c, a)) as X from t1"))
12221222
.hasErrorCode(ErrorCode.CANNOT_CONVERT_TYPE)
1223-
.hasMessage("Struct type 'DEF' has incompatible signatures: expected 2 fields but got 3 fields");
1223+
.hasMessage("Cannot create struct 'DEF': expected 2 fields but got 3");
12241224
}
12251225
}
12261226
}

0 commit comments

Comments
 (0)