summaryrefslogtreecommitdiffstats
path: root/document/src/tests/fixed_bucket_spaces_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/tests/fixed_bucket_spaces_test.cpp')
-rw-r--r--document/src/tests/fixed_bucket_spaces_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/document/src/tests/fixed_bucket_spaces_test.cpp b/document/src/tests/fixed_bucket_spaces_test.cpp
index fab38c638a7..12c248adf37 100644
--- a/document/src/tests/fixed_bucket_spaces_test.cpp
+++ b/document/src/tests/fixed_bucket_spaces_test.cpp
@@ -44,11 +44,13 @@ void FixedBucketSpacesTest::bucket_space_from_name_throws_exception_for_unknown_
void FixedBucketSpacesTest::name_from_bucket_space_is_defined_for_default_space() {
CPPUNIT_ASSERT_EQUAL(vespalib::stringref("default"),
FixedBucketSpaces::to_string(FixedBucketSpaces::default_space()));
+ CPPUNIT_ASSERT_EQUAL(vespalib::stringref("default"), FixedBucketSpaces::default_space_name());
}
void FixedBucketSpacesTest::name_from_bucket_space_is_defined_for_global_space() {
CPPUNIT_ASSERT_EQUAL(vespalib::stringref("global"),
FixedBucketSpaces::to_string(FixedBucketSpaces::global_space()));
+ CPPUNIT_ASSERT_EQUAL(vespalib::stringref("global"), FixedBucketSpaces::global_space_name());
}
void FixedBucketSpacesTest::name_from_bucket_space_throws_exception_for_unknown_space() {