1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00

Added vendor directory to source control

This commit is contained in:
Daniel 2021-10-05 13:04:32 -03:00
parent 1c3c7b5c26
commit aac245d32f
25330 changed files with 3486213 additions and 69 deletions

View file

@ -0,0 +1,21 @@
<?php
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
use AWS\CRT\CRT;
final class ErrorTest extends PHPUnit_Framework_TestCase {
public function testNoInitialError() {
$this->assertEquals(0, CRT::last_error());
}
public function testCanResolveErrorName() {
$this->assertEquals("AWS_ERROR_SUCCESS", CRT::error_name(0));
}
public function testCanResolveErrorStr() {
$this->assertEquals("Success.", CRT::error_str(0));
}
}