Commit Graph

28 Commits

Author SHA1 Message Date
Dmitry Gridin 10462c31d2 Join lines should remove useless trailing commas
#KT-39065 Fixed
2020-05-27 11:24:08 +00:00
Igor Yakovlev bd9877cc62 Rename testdata from DestructuringDeclarations to DestructionDeclarations 2020-03-26 12:35:49 +03:00
Dmitry Gridin 56064f2a92 JoinLines: add tests 2020-02-25 17:03:28 +07:00
Dmitry Gridin f428bbb782 TrailingComma: Join Lines should remove trailing comma
#KT-34744
#KT-36084 Fixed
2020-02-06 23:55:59 +07:00
Nikolay Krasko 5ca3698d13 Remute JoinLinesTestGenerated tests in 193 (KT-34408) 2019-11-05 20:13:30 +03:00
Nikolay Krasko 693603db68 193: Mute join lines tests in 193 (KT-34408) 2019-10-21 15:52:33 +03:00
Nikolay Krasko 0482fe9414 Move check with selection tags to base check 2018-12-13 12:36:02 +03:00
Toshiaki Kameyama e409007749 Join Lines: join initializer + if null check to elvis (KT-22388)
#KT-22388 Fixed
2018-11-24 02:30:10 +03:00
Toshiaki Kameyama 7e417272b2 "Join lines" works incorrectly in case of line containing more than one string literal (KT-22374)
#KT-22374 Fixed
2018-01-26 12:42:16 +03:00
Toshiaki Kameyama 4232ad8dfe "Join lines" works incorrectly in case of line with more than one string literal (KT-22374)
#KT-22374 Fixed
2018-01-24 20:09:32 +03:00
Toshiaki Kameyama eb12cfd444 KT-18674 Join Lines should join strings (#1305)
* Join Lines should join strings #KT-18674 Fixed

* #KT-18674 Fixed
2018-01-03 11:27:16 +01:00
Toshiaki Kameyama 0b7055f7c0 Join lines could "convert to expression body" #KT-15769 Fixed (#1304) 2017-09-21 16:15:44 +02:00
Nikolay Krasko 2cf4da8564 Fix test behaviour in branch 172 2017-08-10 22:05:49 +03:00
Daniil Vodopian b24c1bf06c KT-9669: introduced JoinStatementAddSemicolonHandler; registered the handler in plugin.xml; added test coverage (#1232) 2017-08-07 16:20:40 +02:00
Nikolay Krasko 0e693c39a3 Don't remove else block if it participate in other expression (KT-18309)
#KT-18309 Fixed
2017-06-07 13:49:34 +03:00
Denis Zharkov bae3320d52 Get rid of deprecated annotations in testData 2015-09-18 10:14:32 +03:00
Denis Zharkov c9f79c2d05 Adjust testData: get rid of obsolete annotations 2015-06-12 09:23:31 +03:00
Alexey Sedunov f1b3bb6ae7 Join Lines: Fix test data since IDEA now converts single-line comments to block ones when joining lines 2015-02-18 18:53:36 +03:00
Valentin Kipyatkov b1372f0d9e Fixed if-statements with else branch handling 2014-12-24 14:19:26 +03:00
Valentin Kipyatkov 3db51cfcd8 KT-5927 Join Lines could merge nested if's
#KT-5927 Fixed
2014-12-24 14:19:26 +03:00
Valentin Kipyatkov bc631d7aee Fixed Join LInes on a block when there is a space in the end of line 2014-12-24 14:19:25 +03:00
Valentin Kipyatkov 478b5070ef KT-6019 Join lines should remove code block in when entry body
#KT-6019 Fixed
2014-12-24 14:19:25 +03:00
Valentin Kipyatkov 0823c1528a Fixed 2 bugs in Join Lines 2014-12-24 14:19:25 +03:00
Valentin Kipyatkov cf04ba4943 Corrected test data 2014-10-31 21:07:51 +03:00
Valentin Kipyatkov bbc2d30f60 KT-4849 'Join lines' should remove braces from single-statement block
#KT-4849 Fixed
2014-10-02 18:26:07 +04:00
Valentin Kipyatkov d71c481606 Moved test data 2014-10-02 18:26:06 +04:00
Valentin Kipyatkov c0db84331e Fixed bug in join lines 2014-10-02 18:26:06 +04:00
Evgeny Gerashchenko b1003fc034 Extracted test for "Join Lines" from CodeTransformationsTest. 2014-07-10 15:05:17 +04:00