summaryrefslogtreecommitdiffstats
path: root/tests/core/math/test_math.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/math/test_math.cpp')
-rw-r--r--tests/core/math/test_math.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/math/test_math.cpp b/tests/core/math/test_math.cpp
index 6ec9bc2473..97e6055130 100644
--- a/tests/core/math/test_math.cpp
+++ b/tests/core/math/test_math.cpp
@@ -312,7 +312,7 @@ public:
}
}
- if (name != String()) {
+ if (!name.is_empty()) {
namespace_stack[at_level] = name;
}