changed pointer args to references in JSBaker:bakeJS()

This commit is contained in:
utkarshgautamnyu 2017-10-12 12:08:44 -07:00 committed by GitHub
parent 49f601329f
commit 75aa3a73ad

View file

@ -84,7 +84,7 @@ void JSBakerTest::testJSBaking() {
for (int i = 0;i < _testCases.size();i++) {
QByteArray output;
auto input = _testCases.at(i).first;
JSBaker::bakeJS(&input, &output);
JSBaker::bakeJS(input, output);
auto desiredOutput = _testCases.at(i).second;
QCOMPARE(output, desiredOutput);