Skip to content

Commit 02f61eb

Browse files
committed
review comment
1 parent 704f8e1 commit 02f61eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/arrow/io/file_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ TEST_F(TestFileOutputStream, FileNameWideCharConversionRangeException) {
116116
}
117117

118118
TEST_F(TestFileOutputStream, FileNameValidUtf8) {
119-
// Test that file operations work with valid UTF-8 filenames.
119+
// Test that file operations work with UTF-8 filenames (Korean + emoji).
120120
// On Windows, PlatformFilename::FromString() converts UTF-8 strings to wide strings.
121121
// On Unix, filenames are treated as opaque byte strings.
122122
std::string utf8_file_name = "test_file_한국어_😀.txt";
123123
std::string utf8_path = TempFile(utf8_file_name);
124124

125125
ASSERT_OK_AND_ASSIGN(auto file, FileOutputStream::Open(utf8_path));
126-
const char* data = "UTF-8 test data";
126+
const char* data = "test content"; // Content is not the focus of this test
127127
ASSERT_OK(file->Write(data, strlen(data)));
128128
ASSERT_OK(file->Close());
129129

0 commit comments

Comments
 (0)