Formatting.
所有检测均成功
The build was successful.

这个提交包含在:
Rafal Kupiec 2019-04-10 09:52:20 +02:00
父节点 d8f9db8f9a
当前提交 a4b5db4005
签署人:: belliash
GPG 密钥 ID: 4E829243E0CFE6B4

查看文件

@ -5,13 +5,13 @@ class Program {
}
void main() {
callback $a = void(string $file, int $line, string $code) {
callback $assert_fail = void(string $file, int $line, string $code) {
print("Assertion failed ...\n");
};
assert_options(ASSERT_ACTIVE, true);
assert_options(ASSERT_BAIL, false);
assert_options(ASSERT_WARNING, false);
assert_options(ASSERT_CALLBACK, $a);
assert_options(ASSERT_ACTIVE, true);
assert_options(ASSERT_BAIL, false);
assert_options(ASSERT_WARNING, false);
assert_options(ASSERT_CALLBACK, $assert_fail);
$this->test_assert(true);
$this->test_assert(1);
}