aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/script_tests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp
index ede13b23c2..d98154571b 100644
--- a/src/test/script_tests.cpp
+++ b/src/test/script_tests.cpp
@@ -175,7 +175,6 @@ struct KeyData
}
};
-const KeyData keys;
class TestBuilder
{
@@ -317,6 +316,8 @@ public:
BOOST_AUTO_TEST_CASE(script_build)
{
+ const KeyData keys;
+
std::vector<TestBuilder> good;
std::vector<TestBuilder> bad;