| Summary: | stringLib.format(mySmallInt returns null | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Newer defect has more detail. *** This bug has been marked as a duplicate of bug 364063 *** Verified in 20111121 build. |
Use EUNIT to run: library formatSmallInt mySmallInt smallInt; myString string; function formatSmallIntTest(){@Test} mySmallInt = 1005; myString = stringLib.format(mySmallInt, "$+***,***"); LogResult.assertStringEqual1( "$+**1,005", myString); end end Failed: Expected value = '$+**1,005' Actual value = 'undefined' Running debug, the value of myString is null.