diff options
Diffstat (limited to 'vendor/aws/aws-crt-php/tests/ErrorTest.php')
-rw-r--r-- | vendor/aws/aws-crt-php/tests/ErrorTest.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/vendor/aws/aws-crt-php/tests/ErrorTest.php b/vendor/aws/aws-crt-php/tests/ErrorTest.php deleted file mode 100644 index e84d1ed..0000000 --- a/vendor/aws/aws-crt-php/tests/ErrorTest.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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)); - } -} |