aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testcodeinjection.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/testcodeinjection.cpp
parent7c2acc64fb7d345c184c91336ed20913a6d6d791 (diff)
Fix bug 731 - "Can't specify more than a single 'since' argument"
Diffstat (limited to 'tests/testcodeinjection.cpp')
-rw-r--r--tests/testcodeinjection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testcodeinjection.cpp b/tests/testcodeinjection.cpp
index ab1aa8033..ed2c379c2 100644
--- a/tests/testcodeinjection.cpp
+++ b/tests/testcodeinjection.cpp
@@ -65,7 +65,7 @@ void TestCodeInjections::testInjectWithValidApiVersion()
</value-type>\
</typesystem>";
- TestUtil t(cppCode, xmlCode, true, 1.0);
+ TestUtil t(cppCode, xmlCode, true, "1.0");
AbstractMetaClassList classes = t.builder()->classes();
AbstractMetaClass* classA = classes.findClass("A");
@@ -84,7 +84,7 @@ void TestCodeInjections::testInjectWithInvalidApiVersion()
</value-type>\
</typesystem>";
- TestUtil t(cppCode, xmlCode, true, 0.1);
+ TestUtil t(cppCode, xmlCode, true, "0.1");
AbstractMetaClassList classes = t.builder()->classes();
AbstractMetaClass* classA = classes.findClass("A");