aboutsummaryrefslogtreecommitdiff
path: root/unit-tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-11-08 13:35:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-11-08 16:12:59 +0300
commit6e1f59670b7aaabb27830a345aad9532af111016 (patch)
tree8346d96f67244a99f6c945cb427cc13ea9299c73 /unit-tests
parentee49a8c2a3dbe88c625599a750c9219e3118b008 (diff)
Get rid of faulty test script move-ctor
Diffstat (limited to 'unit-tests')
-rw-r--r--unit-tests/test/script/parser/driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit-tests/test/script/parser/driver.cxx b/unit-tests/test/script/parser/driver.cxx
index deb9994..badb658 100644
--- a/unit-tests/test/script/parser/driver.cxx
+++ b/unit-tests/test/script/parser/driver.cxx
@@ -165,8 +165,8 @@ namespace build2
// Parse and run.
//
parser p;
- script s (
- p.pre_parse (cin, st, tt, dir_path (work) /= "test-driver"));
+ script s (tt, st, dir_path (work) /= "test-driver");
+ p.pre_parse (cin, s);
print_runner r (scope, id);
p.parse (s, r);