summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test.cpp2
-rw-r--r--tests/test_dom_traverse.cpp3
-rw-r--r--tests/test_xpath.cpp2
3 files changed, 1 insertions, 6 deletions
diff --git a/tests/test.cpp b/tests/test.cpp
index ac49872..c60619a 100644
--- a/tests/test.cpp
+++ b/tests/test.cpp
@@ -68,8 +68,6 @@ bool test_xpath_boolean(const pugi::xml_node& node, const pugi::char_t* query, b
return q.evaluate_boolean(node) == expected;
}
-#include <stdio.h>
-
bool test_xpath_number(const pugi::xml_node& node, const pugi::char_t* query, double expected)
{
pugi::xpath_query q(query);
diff --git a/tests/test_dom_traverse.cpp b/tests/test_dom_traverse.cpp
index 4825c67..c647a79 100644
--- a/tests/test_dom_traverse.cpp
+++ b/tests/test_dom_traverse.cpp
@@ -3,9 +3,8 @@
#include "common.hpp"
-#include <stdio.h>
-
#include <string.h>
+#include <stdio.h>
#include <wchar.h>
#include <utility>
diff --git a/tests/test_xpath.cpp b/tests/test_xpath.cpp
index bfa4fed..7db9ea5 100644
--- a/tests/test_xpath.cpp
+++ b/tests/test_xpath.cpp
@@ -168,8 +168,6 @@ TEST(xpath_long_numbers_stringize)
CHECK(test_xpath_string_prefix(c, str_dbl_max_dec, str_dbl_max, 15));
}
-#include <stdio.h>
-
TEST(xpath_denorm_numbers)
{
pugi::string_t query;