File:  [parser3project] / parser3 / tests / results / 435.processed
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Oct 28 00:45:27 2024 UTC (20 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
tests for ^hash.set[first|last;value], ^hash.set([-+]index)[value] and same for array added (related to feature #1253)

Content-Type: text/html
Content-Length: 1281

1. 2. a. array
{
"0":"first",
"1":"v2",
"2":null,
"3":"set3",
"8":"set-2",
"10":"last"
}
Exception type: parser.runtime,
Source: set,
Comment: index '-14' is out of range 0..5
Exception type: parser.runtime,
Source: set,
Comment: index '20' is out of range 0..5
b. {
"1":"new first",
"2":null,
"3":"set3",
"8":"set-2",
"10":"last"
}
c. Exception type: parser.runtime,
Source: bug,
Comment: type must be 'key', 'value' or 'hash'
d. Exception type: parser.runtime,
Source: set,
Comment: index must be 'first', 'last' or expression (parameter #1)
3. a. hash
{
"0":"first",
"1":"v2",
"2":null,
"3":"set3",
"8":"set-2",
"10":"last"
}
Exception type: parser.runtime,
Source: set,
Comment: index '-14' is out of range 0..5
Exception type: parser.runtime,
Source: set,
Comment: index '20' is out of range 0..5
b. {
"1":"new first",
"2":null,
"3":"set3",
"8":"set-2",
"10":"last"
}
c. Exception type: parser.runtime,
Source: bug,
Comment: type must be 'key', 'value' or 'hash'
d. Exception type: parser.runtime,
Source: set,
Comment: index must be 'first', 'last' or expression (parameter #1)
4. Exception type: parser.runtime,
Source: set,
Comment: index '0' is out of range: array is empty
5. Exception type: parser.runtime,
Source: set,
Comment: index '0' is out of range: hash is empty

E-mail: