Wrong Format of utPLSQL Code Templates · Issue #113 · utPLSQL/utPLSQL-SQLDeveloper
Repository navigation
Wrong Format of utPLSQL Code Templates #113
New issue
New issue
Closed
Closed
Wrong Format of utPLSQL Code Templates #113 Assignees PhilippSalvisberg is assigned Labels
bug
Milestone v1.2.1
Description
@PhilippSalvisberg's profile PhilippSalvisberg opened on Oct 18, 2020Since 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];
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];
-- -- 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
CREATE OR REPLACE PACKAGE test_[package_name] IS --%suite --%suitepath(alltests) --%test PROCEDURE [procedure_name]; END test_[package_name]; /
ut_spec_proc
looks good.
--%test PROCEDURE [procedure_name];
Metadata
Metadata
Assignees
Labels
bug