Since version 1.2.0 the generated code templates are wrongly formatted. I guess this happend during conversion from Xtend to Java. ### ut_body - wrong indentation after first comment - missing line break before `END END [procedure_name];` - unnecessary line break before `END test_[package_name];` ``` sql CREATE OR REPLACE PACKAGE BODY test_[package_name] IS -- -- test -- PROCEDURE [procedure_name] IS l_actual INTEGER := 0; l_expected INTEGER := 1; BEGIN -- populate actual -- ... -- populate expected -- ... -- assert ut.expect(l_actual).to_equal(l_expected);END [procedure_name]; END test_[package_name]; / ``` ### ut_body_proc missing line break before `END END [procedure_name];` ``` sql -- -- test -- PROCEDURE [procedure_name] IS l_actual INTEGER := 0; l_expected INTEGER := 1; BEGIN -- populate actual -- ... -- populate expected -- ... -- assert ut.expect(l_actual).to_equal(l_expected);END [procedure_name]; ``` ### ut_spec missing indentation of `PROCEDURE` ``` sql CREATE OR REPLACE PACKAGE test_[package_name] IS --%suite --%suitepath(alltests) --%test PROCEDURE [procedure_name]; END test_[package_name]; / ``` ### ut_spec_proc looks good. ``` sql --%test PROCEDURE [procedure_name]; ```
Activity
[-]Wrong Format of utPLSQL Code Templats[/-][+]Wrong Format of utPLSQL Code Templates[/+]