Skip to content

Commit 6b6323f

Browse files
committed
change integration test
1 parent 493a7f6 commit 6b6323f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration/table_scan_error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ func TestIssue415ScanError(t *testing.T) {
6464
}
6565
}
6666
}(err)
67-
require.Equal(t, "not found column 'ghi'", err.Error())
67+
require.ErrorContains(t, err, "not found column 'ghi'")
6868
}

tests/integration/table_scan_query_with_compression_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ func TestScanQueryWithCompression(t *testing.T) {
6868
}
6969
}
7070
}(err)
71-
require.Equal(t, "not found column 'ghi'", err.Error())
71+
require.ErrorContains(t, err, "not found column 'ghi'")
7272
}

0 commit comments

Comments
 (0)