mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
More robust
This commit is contained in:
parent
21f2bb4e42
commit
b062b8ac28
|
@ -241,15 +241,15 @@ CLASS ltcl_field_rules IMPLEMENTATION.
|
|||
exp = sy-uzeit(4) ). " avoid comparing seconds
|
||||
|
||||
lv_ts = ls_act-ts.
|
||||
lv_ts = lv_ts(12).
|
||||
lv_ts = lv_ts(10).
|
||||
cl_abap_unit_assert=>assert_equals(
|
||||
act = lv_ts
|
||||
exp = |{ lv_timestamp DIV 100 }| ). " avoid comparing second
|
||||
exp = |{ lv_timestamp DIV 10000 }| ). " avoid comparing second
|
||||
lv_ts = ls_act-tl.
|
||||
lv_ts = lv_ts(12).
|
||||
lv_ts = lv_ts(10).
|
||||
cl_abap_unit_assert=>assert_equals(
|
||||
act = lv_ts
|
||||
exp = |{ lv_timestamp DIV 100 }| ). " avoid comparing seconds
|
||||
exp = |{ lv_timestamp DIV 10000 }| ). " avoid comparing seconds
|
||||
|
||||
READ TABLE lt_act INTO ls_act INDEX 2.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user