Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-08-14 18:34:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-14 18:34:58 +0300
commit4b9e05b42898073c65d97e20295a773f6ce7e78b (patch)
tree620dc619f1a65a8c89127c108d2d99c436becbec /tests
parent8cbe9f1b9ad8ba63eadbd15270338c24005e0e9c (diff)
Cleanup: clang-format, sort structs & cmake files
Diffstat (limited to 'tests')
-rw-r--r--tests/gtests/blenlib/BLI_path_util_test.cc5
-rw-r--r--tests/gtests/blenlib/BLI_string_test.cc1
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/gtests/blenlib/BLI_path_util_test.cc b/tests/gtests/blenlib/BLI_path_util_test.cc
index c9a7436df31..0bdaa346428 100644
--- a/tests/gtests/blenlib/BLI_path_util_test.cc
+++ b/tests/gtests/blenlib/BLI_path_util_test.cc
@@ -619,7 +619,6 @@ TEST(path_util, PathFrameGet)
}
#undef PATH_FRAME_GET
-
/* BLI_path_extension */
TEST(path_util, PathExtension)
{
@@ -627,8 +626,8 @@ TEST(path_util, PathExtension)
EXPECT_EQ(NULL, BLI_path_extension("Text"));
EXPECT_EQ(NULL, BLI_path_extension("Text…001"));
- EXPECT_STREQ(".", BLI_path_extension("some/file."));
- EXPECT_STREQ(".gz", BLI_path_extension("some/file.tar.gz"));
+ EXPECT_STREQ(".", BLI_path_extension("some/file."));
+ EXPECT_STREQ(".gz", BLI_path_extension("some/file.tar.gz"));
EXPECT_STREQ(".abc", BLI_path_extension("some.def/file.abc"));
EXPECT_STREQ(".abc", BLI_path_extension("C:\\some.def\\file.abc"));
EXPECT_STREQ(".001", BLI_path_extension("Text.001"));
diff --git a/tests/gtests/blenlib/BLI_string_test.cc b/tests/gtests/blenlib/BLI_string_test.cc
index c79afdfb92c..d69cb519494 100644
--- a/tests/gtests/blenlib/BLI_string_test.cc
+++ b/tests/gtests/blenlib/BLI_string_test.cc
@@ -590,7 +590,6 @@ TEST(string, StringStrncasestr)
EXPECT_EQ(res, (void *)NULL);
}
-
/* BLI_string_is_decimal */
TEST(string, StrIsDecimal)
{