summaryrefslogtreecommitdiff
path: root/tests/test_regressions.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix line lengthRowan Seymour2017-02-091-1/+2
|
* CONCURRENTLY should be handled as a keywordRowan Seymour2017-02-091-0/+12
|
* Update test with new behaviorVictor Uriarte2017-02-071-2/+3
|
* Fix #315 support utf-8 by defaultTao Wang2017-01-111-0/+19
| | | | Signed-off-by: Tao Wang <twang2218@gmail.com>
* Fix special case for #284 when statement starts with orphaned AS.Andi Albrecht2016-10-241-4/+7
|
* Fix #284 as groupingVictor Uriarte2016-08-221-0/+6
|
* Fix test that wasn't runningVictor Uriarte2016-08-221-1/+1
|
* Don't rely on line breaks in tests.Andi Albrecht2016-08-131-1/+1
|
* Fix a bug: recognize file (Python 2) as a streamOleg Broytman2016-08-061-0/+7
|
* Failing test: stream worked in 0.1.19Gordon McCreight2016-07-211-0/+6
|
* Parametrize testsVictor Uriarte2016-06-201-44/+28
| | | | | | Allows for tests to continue if the first assert had failed. In particular useful when certain change is dealing with two almost opposing edge cases.
* Remove some test classes and clean-upVictor Uriarte2016-06-201-117/+124
|
* Replace tests/utils with conftest.pyVictor Uriarte2016-06-201-5/+3
| | | | http://stackoverflow.com/questions/34466027/what-is-the-use-of-conftest-py
* Replace other UnitTest with Py.TestVictor Uriarte2016-06-201-70/+68
|
* Replace ndiffAssertEqual with Py.TestVictor Uriarte2016-06-201-27/+23
|
* Merge pull request #265 from darikg/dont-ignore-skip_cmVictor Uriarte2016-06-201-0/+6
|\
| * token_next shouldn't ignore skip_cmDarik Gamble2016-06-201-0/+6
|/
* Reapply fix for case within paranthesisVictor Uriarte2016-06-141-8/+0
|
* Merge remote-tracking branch 'core/long_live_indexes' into developVictor Uriarte2016-06-141-1/+3
|\
* | Remove token_first; its redundant to token_next(idx=0)Victor Uriarte2016-06-121-1/+1
| |
* | Fix grouping of `case` within parenthesis.Victor Uriarte2016-06-111-0/+7
| | | | | | | | Closes #164
* | Add test for issue #207 - run-away indent on aliasVictor Uriarte2016-06-111-0/+11
| |
* | Apply new-style str formatVictor Uriarte2016-06-111-10/+6
| |
* | Fix flake8 stylingVictor Uriarte2016-05-291-2/+2
|/
* Ensure get_type() works for queries that use WITH.Andrew Tipton2016-03-021-4/+10
|
* Add failing test for issue #227.Andrew Tipton2016-03-021-0/+7
|
* Add test case for issue 214, update changelog and authors.Andi Albrecht2015-12-141-0/+5
|
* Fix version check when casting TokenList to string (fixes #212).Andi Albrecht2015-12-081-0/+11
|
* Use compat module for single Python 2/3 code base.Andi Albrecht2015-10-261-0/+1
| | | | This change includes minor fixes and code cleanup too.
* Handle END IF correctly when splitting statements (fixes #194).Andi Albrecht2015-07-281-0/+13
|
* Ignore comments at beginning of statement when calling Statement.get_type ↵Andi Albrecht2015-07-261-0/+6
| | | | (fixes #186).
* Don't treat DECLARE within BEGIN blocks as relevant to split level (fixes #193).Andi Albrecht2015-07-261-1/+12
|
* Improve handling of NULL in aliased identifiers.Andi Albrecht2014-03-031-0/+11
|
* Fix parsing and formatting of statements containing EXCEPT keyword.Andi Albrecht2014-01-281-0/+15
|
* Allow NULL keyword in assignments (fixes #90).Andi Albrecht2013-04-201-0/+20
|
* Add encoding parameter to top-level functions (fixes issue20).Andi Albrecht2013-04-041-1/+11
|
* Fix internals of _group_left_right, avoid identifying keywords as aliased ↵Andi Albrecht2013-03-181-0/+10
| | | | identifiers.
* Add unit test for sqls containing binary data.Andi Albrecht2013-02-251-0/+13
|
* Fix a regression where reindent filter failed when comments contained ↵Andi Albrecht2013-01-251-0/+8
| | | | non-ascii chars.
* Fix parsing error with dollar-quoted procedure bodies (fixes issue83).Andi Albrecht2012-12-221-0/+23
|
* Improve handling of quoted indentifiers (fixes issue78).Andi Albrecht2012-11-031-0/+28
|
* Make sure that stand-alone comments are parsed correctly (fixes issue26).Andi Albrecht2011-07-251-0/+18
|
* Make sure that identifier lists in subselects with alias are grouped correctly.Andi Albrecht2011-07-231-0/+32
|
* Avoid parsing of names as keywords (fixes issue39).Andi Albrecht2011-07-201-0/+10
|
* Fix removal of comments when strip_comments is True (fixes issue38).Andi Albrecht2011-06-101-0/+7
|
* Don't group trailing whitepsace in WHERE clauses (fixes issue35).Andi Albrecht2011-04-131-2/+10
|
* Move regression tests.Andi Albrecht2011-03-171-3/+22
|
* Ignore case in token.match() for all keyword types (fixes issue34).Andi Albrecht2011-03-171-0/+14
|
* Move regression test to separate directory.Andi Albrecht2010-06-171-20/+0
|
* Prevent WHERE grouper from consuming closing parenthesis (fixes issue9, ↵Andi Albrecht2009-09-121-0/+20
reported by estama).