diff --git a/tests/test_control_chars.cpp b/tests/test_control_chars.cpp
deleted file mode 100644
index 589f380..0000000
--- a/tests/test_control_chars.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "test.hpp"
-
-TEST_XML(control_chars_skip, "\f\t\n\x0F\x19") {
- CHECK_NODE_EX(doc.first_child(), STR("\t\n\n"), STR(""), pugi::format_default | pugi::format_skip_control_chars);
-}
-
-TEST_XML(control_chars_keep, "\f\t\n\x0F\x19") {
- CHECK_NODE_EX(doc.first_child(), STR("\t\n\n"), STR(""), pugi::format_default);
-}
diff --git a/tests/test_write.cpp b/tests/test_write.cpp
index 57fa7fb..9050807 100644
--- a/tests/test_write.cpp
+++ b/tests/test_write.cpp
@@ -719,3 +719,13 @@ TEST_XML(write_throw_encoding, "")
}
}
#endif
+
+TEST_XML(write_skip_control_chars, "\f\t\n\x0F\x19")
+{
+ CHECK_NODE_EX(doc.first_child(), STR("\t\n\n"), STR(""), pugi::format_default | pugi::format_skip_control_chars);
+}
+
+TEST_XML(write_keep_control_chars, "\f\t\n\x0F\x19")
+{
+ CHECK_NODE_EX(doc.first_child(), STR("\t\n\n"), STR(""), pugi::format_default);
+}