This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 58b8a6f41e GH-46439: [C++] Remove unneeded namespace prefix in
test_util_internal.h (#46695)
58b8a6f41e is described below
commit 58b8a6f41ea461e47d8a4f69a5e75742668f67ea
Author: Bryce Mecum <[email protected]>
AuthorDate: Tue Jun 3 14:37:09 2025 -0700
GH-46439: [C++] Remove unneeded namespace prefix in test_util_internal.h
(#46695)
### Rationale for this change
Addresses
https://github.com/apache/arrow/pull/46180#discussion_r2089101500. One of three
PRs to resolve https://github.com/apache/arrow/issues/46439.
### What changes are included in this PR?
- Remove unneeded namespace prefix in test_util_internal.h.
### Are these changes tested?
Yes. Impacted tests still pass.
### Are there any user-facing changes?
No.
* GitHub Issue: #46439
Authored-by: Bryce Mecum <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
cpp/src/arrow/dataset/test_util_internal.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpp/src/arrow/dataset/test_util_internal.h
b/cpp/src/arrow/dataset/test_util_internal.h
index 1b1a115aca..0dc8264a9c 100644
--- a/cpp/src/arrow/dataset/test_util_internal.h
+++ b/cpp/src/arrow/dataset/test_util_internal.h
@@ -2139,8 +2139,8 @@ class WriteFileSystemDatasetMixin : public
MakeFileSystemDatasetMixin {
actual_struct = std::dynamic_pointer_cast<Array>(struct_array);
}
- auto expected_struct = arrow::ArrayFromJSON(
- struct_(expected_physical_schema_->fields()), file_contents->second);
+ auto expected_struct =
ArrayFromJSON(struct_(expected_physical_schema_->fields()),
+ file_contents->second);
AssertArraysEqual(*expected_struct, *actual_struct, /*verbose=*/true);
}