update to latest npm modules (#24)

* update to latest npm modules

* bugfix, and better error output

* add testcase, using DDIC type
This commit is contained in:
Lars Hvam
2022-01-05 10:52:07 +01:00
committed by GitHub
parent f62ab4be37
commit 473a7b3858
7 changed files with 81 additions and 44 deletions

View File

@@ -0,0 +1 @@
{"version":1,"status":"pass"}

View File

@@ -0,0 +1,14 @@
CLASS zcl_simple DEFINITION PUBLIC.
PUBLIC SECTION.
METHODS run RETURNING VALUE(res) TYPE i.
ENDCLASS.
CLASS zcl_simple IMPLEMENTATION.
METHOD run.
DATA foo TYPE string_table.
APPEND |sdf| TO foo.
res = 3.
ENDMETHOD.
ENDCLASS.

View File

@@ -0,0 +1,18 @@
CLASS ltcl_simple DEFINITION FOR TESTING RISK LEVEL HARMLESS DURATION SHORT FINAL.
PRIVATE SECTION.
METHODS test FOR TESTING RAISING cx_static_check.
ENDCLASS.
CLASS ltcl_simple IMPLEMENTATION.
METHOD test.
DATA simple TYPE REF TO zcl_simple.
CREATE OBJECT simple.
cl_abap_unit_assert=>assert_equals(
act = simple->run( )
exp = 3 ).
ENDMETHOD.
ENDCLASS.