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

add tests for special characters and pipecomment #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kenziebourn
Copy link
Owner

Description

Two tests have been added to account for issue 722 and issue 753. Minor linting issues with flake8 have also been fixed.

test_special_chars tests a multiline SQL statement which contains special characters, newlines, double quotes, comparison operators and concatenation. It expects three separate statements.

test_split_pipe_comments tests an SQL statement which does not have a space between the | and -- (pipe and comment). It expects one statement given that everything after the -- is part of the comment, but currently fails unless a space is added between the pipe and comment.

Tests Results

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant