Ryuta Kamizono
245c1dafa8
Enable Layout/LeadingCommentSpace
to not allow cosmetic changes in the future
...
Follow up of #31432 .
2017-12-14 17:30:54 +09:00
Koichi ITO
ac717d65a3
[Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment
2017-07-11 13:12:32 +09:00
Kir Shatrov
72950568dd
Use frozen-string-literal in ActiveSupport
2017-07-09 15:08:29 +03:00
Matthew Draper
87b3e226d6
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
...
This reverts commit 3420a14590
, reversing
changes made to afb66a5a59
.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e
Enforce frozen string in Rubocop
2017-07-01 02:11:03 +03:00
Kasper Timm Hansen
6d6249b1c1
✂️ needless lines beneath private.
2016-11-20 17:58:36 +01:00
Jon Moss
0ab54f4a49
Create XMLMiniEngineTest; base class for all tests
2016-11-20 10:46:16 -05:00
Jon Moss
2bdc4ddc06
Code styling cleanup
2016-11-20 10:45:58 -05:00
Jon Moss
305e2922a4
Create CommonXMLMiniAdapterTest
; common tests module
...
Created a new module (a la Action Cable subscription adapter's test
suite) to be included in all sub class test to ensure compatability and
reduce duplicated code.
2016-11-20 10:45:09 -05:00
Jon Moss
1d18b9b2fb
Do not include ActiveSupport
into test classes
...
Will help get rid of errors like the following:
```
1) Error:
JDOMEngineTest#test_order=:
ArgumentError: wrong number of arguments (0 for 1)
/Users/jon/code/rails/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb:106:in `test_order='
```
2016-11-19 10:30:57 -05:00
Ryuta Kamizono
762e3f05f3
Add Style/EmptyLines
in .rubocop.yml
and remove extra empty lines
2016-08-07 17:50:59 +09:00
Xavier Noria
80e66cc4d9
normalizes indentation and whitespace across the project
2016-08-06 20:16:27 +02:00
Xavier Noria
a731125f12
applies new string literal convention in activesupport/test
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:10:53 +02:00
Paco Guzman
20bd16330c
Rewind StringIO instances before be parsed again
2013-06-16 00:32:33 +02:00
Paco Guzman
74c79104b9
Compare with the parsed result from REXML backend
2013-05-22 15:35:47 +02:00
Anupam Choudhury
ae984cb1ef
Added missing assert
2013-04-02 11:50:25 +05:30
Rafael Mendonça França
e6e3a64982
Only call MiniTest.autorun if the dependecy is present
2012-12-31 16:25:07 -03:00
Aaron Patterson
b8d8c50785
use AS::TestCase as the base class
2012-01-05 17:12:46 -08:00
Willem van Bergen
34b03cebf9
Code cleanup, bugfixes and speed improvements for the Nokogiri and LibXML XmlMini backends
...
[#3641 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-01-01 13:16:40 -08:00
Jacob Lauemoeller
fc46c9b220
Added CDATA support to the XmlMini LibXML engine, adjusted whitespace handling to closer match that of the REXML engine, and added a LibXML engine test
...
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2009-10-15 10:54:30 +13:00