diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-04-03 22:24:35 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:19:31 +0200 |
commit | 3899cd3c8fb3eccb73a43208e90d88cfcc64c41c (patch) | |
tree | 3731ca07606dbab40616de45a417ba44865f5ce7 /test/core/common/UtilsTest.cpp | |
parent | 04ca3af777a18ba9148110500d3d9ad3f6210895 (diff) |
Identifiers may not end with an underscore
Diffstat (limited to 'test/core/common/UtilsTest.cpp')
-rw-r--r-- | test/core/common/UtilsTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/common/UtilsTest.cpp b/test/core/common/UtilsTest.cpp index 2aaa430..f1a9af3 100644 --- a/test/core/common/UtilsTest.cpp +++ b/test/core/common/UtilsTest.cpp @@ -31,6 +31,7 @@ TEST(Utils, isIdentifier) EXPECT_FALSE(Utils::isIdentifier("0t-_EST")); EXPECT_FALSE(Utils::isIdentifier("_A")); EXPECT_FALSE(Utils::isIdentifier("invalid key")); + EXPECT_FALSE(Utils::isIdentifier("A_")); EXPECT_FALSE(Utils::isIdentifier("")); } |