alecthomas / alecthomas/assert

Is Nil() gone?

Đang mở
#27 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
195
Fork
16
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi and thanks for this library!
I recently found it and wanted to port some existing code to use it.

In the readme, it mentions the evaluation criteria, and that this function was decided to keep:

Nil(t, value) -> frequently used, keep

But, it seems to not be in the repo?

I am using github.com/alecthomas/assert/v2

Maybe I'm just doing it wrong?

EDIT: I see that `assert.NoError(t, err)` does what I want.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.