📜  minitest assert true - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:28.354000             🧑  作者: Mango

代码示例1
assert(test, msg = nil)
# Fails unless test is a true value.

assert_empty(obj, msg = nil)
Fails unless obj is empty.

assert_nil(obj, msg = nil)
Fails unless obj is nil