aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testaddfunction.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-08-11 16:54:44 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:18 -0300
commitfbabe7a32b49d214ee5653cf6f0ced2f936c81ab (patch)
tree24698ed8817b08442ab0462eb8fd114f31c90271 /tests/testaddfunction.cpp
parent7c2acc64fb7d345c184c91336ed20913a6d6d791 (diff)
Fix bug 731 - "Can't specify more than a single 'since' argument"
Diffstat (limited to 'tests/testaddfunction.cpp')
-rw-r--r--tests/testaddfunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testaddfunction.cpp b/tests/testaddfunction.cpp
index 2d4ee91fd..beb49fa18 100644
--- a/tests/testaddfunction.cpp
+++ b/tests/testaddfunction.cpp
@@ -347,7 +347,7 @@ void TestAddFunction::testAddFunctionWithApiVersion()
<inject-code class='target' position='beginning'>custom_code();</inject-code>\
</add-function>\
</typesystem>";
- TestUtil t(cppCode, xmlCode, true, 0.1);
+ TestUtil t(cppCode, xmlCode, true, "0.1");
AbstractMetaFunctionList globalFuncs = t.builder()->globalFunctions();
QCOMPARE(globalFuncs.count(), 1);
}