Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing initial indentation in generated utPLSQL test packages #33

Closed
PhilippSalvisberg opened this issue Oct 14, 2018 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@PhilippSalvisberg
Copy link
Member

Here's an example of a generated package specification without comments:

CREATE OR REPLACE PACKAGE test_type_util IS

--%suite(test_type_util)
--%suitepath(alltests)

--%context(dedup)

--%test
PROCEDURE dedup1;

--%test
PROCEDURE dedup2;

--%endcontext

END test_type_util;
/

The initial indentation within the package is missing. It should look as follows (using 3 indent spaces):

CREATE OR REPLACE PACKAGE test_type_util IS

   --%suite(test_type_util)
   --%suitepath(alltests)

   --%context(dedup)

   --%test
   PROCEDURE dedup1;

   --%test
   PROCEDURE dedup2;

   --%endcontext

END test_type_util;
/

Same issue with the package body.

Other indentations are not affected.

@PhilippSalvisberg PhilippSalvisberg added this to the v0.4.1 milestone Oct 14, 2018
@PhilippSalvisberg PhilippSalvisberg self-assigned this Oct 14, 2018
@PhilippSalvisberg PhilippSalvisberg changed the title Missing initial identation in generated utPLSQL test packages Missing initial indentation in generated utPLSQL test packages Oct 15, 2018
PhilippSalvisberg added a commit that referenced this issue Oct 15, 2018
Fixes #33 - Missing indent in generated package specs and bodies
@PhilippSalvisberg PhilippSalvisberg modified the milestones: v0.4.1, v0.5.0 Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant