grains: workaround transpiler error (#304)
* grains: workaround transpiler error * Update abaplint.json
This commit is contained in:
@@ -697,7 +697,7 @@
|
|||||||
"severity": "Error"
|
"severity": "Error"
|
||||||
},
|
},
|
||||||
"prefer_inline": {
|
"prefer_inline": {
|
||||||
"exclude": [],
|
"exclude": ["grains"],
|
||||||
"severity": "Error"
|
"severity": "Error"
|
||||||
},
|
},
|
||||||
"prefer_is_not": {
|
"prefer_is_not": {
|
||||||
|
|||||||
@@ -103,9 +103,11 @@ CLASS ltcl_grains IMPLEMENTATION.
|
|||||||
|
|
||||||
"returns the total number of grains on the board
|
"returns the total number of grains on the board
|
||||||
METHOD test_total.
|
METHOD test_total.
|
||||||
|
DATA lv_expected TYPE zcl_grains=>type_result.
|
||||||
|
lv_expected = 18446744073709551615.
|
||||||
cl_abap_unit_assert=>assert_equals(
|
cl_abap_unit_assert=>assert_equals(
|
||||||
act = cut->total( )
|
act = cut->total( )
|
||||||
exp = 18446744073709551615 ).
|
exp = lv_expected ).
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user