summaryrefslogtreecommitdiffstats
path: root/tools/slang-unit-test/unit-test-path.cpp
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-10-29 14:49:26 +0800
committerGitHub <noreply@github.com>2024-10-29 14:49:26 +0800
commitf65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch)
treeea1d61342cd29368e19135000ec2948813096205 /tools/slang-unit-test/unit-test-path.cpp
parenta729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff)
format
* format * Minor test fixes * enable checking cpp format in ci
Diffstat (limited to 'tools/slang-unit-test/unit-test-path.cpp')
-rw-r--r--tools/slang-unit-test/unit-test-path.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/slang-unit-test/unit-test-path.cpp b/tools/slang-unit-test/unit-test-path.cpp
index c27feee9c..d96acd4f7 100644
--- a/tools/slang-unit-test/unit-test-path.cpp
+++ b/tools/slang-unit-test/unit-test-path.cpp
@@ -1,7 +1,6 @@
// unit-test-path.cpp
#include "../../source/core/slang-io.h"
-
#include "tools/unit-test/slang-unit-test.h"
using namespace Slang;
@@ -37,7 +36,9 @@ SLANG_UNIT_TEST(path)
SLANG_CHECK(Path::simplify("a:\\what\\..\\.\\..\\is\\.\\..\\this\\.\\") == "a:/../this");
- SLANG_CHECK(Path::simplify("tests/preprocessor/.\\pragma-once-a.h") == "tests/preprocessor/pragma-once-a.h");
+ SLANG_CHECK(
+ Path::simplify("tests/preprocessor/.\\pragma-once-a.h") ==
+ "tests/preprocessor/pragma-once-a.h");
SLANG_CHECK(Path::hasRelativeElement("."));
@@ -55,8 +56,5 @@ SLANG_UNIT_TEST(path)
SLANG_CHECK(Path::hasRelativeElement("a:/what/.././../is/./../this/./"));
SLANG_CHECK(Path::hasRelativeElement("a:\\what\\..\\.\\..\\is\\.\\..\\this\\.\\"));
-
-
}
}
-