diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-10-29 14:49:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-29 14:49:26 +0800 |
| commit | f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch) | |
| tree | ea1d61342cd29368e19135000ec2948813096205 /tools/slang-unit-test/unit-test-io.cpp | |
| parent | a729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff) | |
format
* format
* Minor test fixes
* enable checking cpp format in ci
Diffstat (limited to 'tools/slang-unit-test/unit-test-io.cpp')
| -rw-r--r-- | tools/slang-unit-test/unit-test-io.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/slang-unit-test/unit-test-io.cpp b/tools/slang-unit-test/unit-test-io.cpp index fbac5af17..0e6cab94d 100644 --- a/tools/slang-unit-test/unit-test-io.cpp +++ b/tools/slang-unit-test/unit-test-io.cpp @@ -1,7 +1,6 @@ // unit-test-io.cpp #include "../../source/core/slang-io.h" - #include "tools/unit-test/slang-unit-test.h" using namespace Slang; @@ -9,7 +8,7 @@ using namespace Slang; static SlangResult _checkGenerateTemporary() { /// Test temporary file functionality - + List<String> paths; for (Index i = 0; i < 10; ++i) @@ -47,7 +46,7 @@ static SlangResult _checkGenerateTemporary() for (auto& path : paths) { SLANG_CHECK(File::exists(path)); - + const auto removeResult = File::remove(path); SLANG_CHECK(SLANG_SUCCEEDED(removeResult)); |
