Skip to content

Commit f0877a7

Browse files
committed
Fix errors
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
1 parent e9996ad commit f0877a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

table/scanner_internal_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func TestKeyDefaultMapRaceCondition(t *testing.T) {
138138
}
139139

140140
func TestBuildPartitionProjectionWithInvalidSpecID(t *testing.T) {
141-
schema := iceberg.NewSchema(
141+
schema := iceberg.MustNewSchema(
142142
1,
143143
iceberg.NestedField{
144144
ID: 1, Name: "id",
@@ -169,7 +169,7 @@ func TestBuildPartitionProjectionWithInvalidSpecID(t *testing.T) {
169169
}
170170

171171
func TestBuildManifestEvaluatorWithInvalidSpecID(t *testing.T) {
172-
schema := iceberg.NewSchema(
172+
schema := iceberg.MustNewSchema(
173173
1,
174174
iceberg.NestedField{
175175
ID: 1, Name: "id",
@@ -202,7 +202,7 @@ func TestBuildManifestEvaluatorWithInvalidSpecID(t *testing.T) {
202202
}
203203

204204
func TestBuildPartitionEvaluatorWithInvalidSpecID(t *testing.T) {
205-
schema := iceberg.NewSchema(
205+
schema := iceberg.MustNewSchema(
206206
1,
207207
iceberg.NestedField{
208208
ID: 1, Name: "id",

0 commit comments

Comments
 (0)