grains: workaround transpiler error (#304)

* grains: workaround transpiler error

* Update abaplint.json
This commit is contained in:
Lars Hvam
2024-04-02 09:25:08 +02:00
committed by GitHub
parent 75a074d95d
commit 9ee3d05c13
2 changed files with 4 additions and 2 deletions

View File

@@ -697,7 +697,7 @@
"severity": "Error"
},
"prefer_inline": {
"exclude": [],
"exclude": ["grains"],
"severity": "Error"
},
"prefer_is_not": {

View File

@@ -103,9 +103,11 @@ CLASS ltcl_grains IMPLEMENTATION.
"returns the total number of grains on the board
METHOD test_total.
DATA lv_expected TYPE zcl_grains=>type_result.
lv_expected = 18446744073709551615.
cl_abap_unit_assert=>assert_equals(
act = cut->total( )
exp = 18446744073709551615 ).
exp = lv_expected ).
ENDMETHOD.