summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2010-12-29 15:39:46 -0300
committerLauro Neto <lauro.neto@openbossa.org>2010-12-29 16:30:40 -0300
commite5da714a34ea4571573741a79f0733c561f1c13d (patch)
treec669d539d5cdda0a555f190f1ec97bf77ab1a58d /tests
parent6d0f92a096f0e81fa2e3b219cc38e90821d01b51 (diff)
downloadshiboken-e5da714a34ea4571573741a79f0733c561f1c13d.tar.gz
shiboken-e5da714a34ea4571573741a79f0733c561f1c13d.tar.xz
shiboken-e5da714a34ea4571573741a79f0733c561f1c13d.zip
Fix test after changes to SequenceToArgcArgv
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/libsample/injectcode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libsample/injectcode.cpp b/tests/libsample/injectcode.cpp
index 6e19de75..05c4a143 100644
--- a/tests/libsample/injectcode.cpp
+++ b/tests/libsample/injectcode.cpp
@@ -54,7 +54,7 @@ const char* InjectCode::simpleMethod2()
const char* InjectCode::simpleMethod3(int argc, char** argv)
{
- for (int i = 1; i < argc; ++i)
+ for (int i = 0; i < argc; ++i)
m_valueHolder += argv[i];
return m_valueHolder.c_str();
}