summaryrefslogtreecommitdiff
path: root/tools/slang-unit-test/unit-test-decl-tree-reflection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/slang-unit-test/unit-test-decl-tree-reflection.cpp')
-rw-r--r--tools/slang-unit-test/unit-test-decl-tree-reflection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/slang-unit-test/unit-test-decl-tree-reflection.cpp b/tools/slang-unit-test/unit-test-decl-tree-reflection.cpp
index 2ceb9981b..512be9be5 100644
--- a/tools/slang-unit-test/unit-test-decl-tree-reflection.cpp
+++ b/tools/slang-unit-test/unit-test-decl-tree-reflection.cpp
@@ -178,7 +178,7 @@ SLANG_UNIT_TEST(declTreeReflection)
SLANG_CHECK(result == SLANG_OK);
SLANG_CHECK(val == 1024);
SLANG_CHECK(
- funcReflection->findUserAttributeByName(globalSession.get(), "MyFuncProperty") ==
+ funcReflection->findAttributeByName(globalSession.get(), "MyFuncProperty") ==
userAttribute);
}