We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6974da1 commit 074678dCopy full SHA for 074678d
test/unit/deprecated/iPgmUnit.js
@@ -226,10 +226,8 @@ describe('iPgm Class Unit Tests', function () {
226
});
227
228
pgm.addReturn('0', '20A');
229
- // iPgm.addReturn() needs to emit a deprecation warning
230
- // expect(getDeprecation().message).to
231
- // .equal("As of v1.0, 'iPgm.addReturn()' is deprecated. \
232
- // Please use 'ProgramCall.addReturn()' instead.");
+ expect(getDeprecation().message).to
+ .equal("As of v1.0, 'iPgm.addReturn()' is deprecated. Please use 'ProgramCall.addReturn()' instead.");
233
234
const expectedXML = '<pgm name=\'QTOCNETSTS\' lib=\'QSYS\' func=\'QtoRtvTCPA\' '
235
+ 'error=\'fast\'><return><data type=\'20A\'>0</data></return></pgm>';
0 commit comments