1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
Commit graph

33 commits

Author SHA1 Message Date
Norman Clarke
2dbfcb7d58 Remove some dead code from Haml::Util 2014-12-01 13:53:42 -03:00
Tee Parham
5017d33260 Add Haml::TestCase
Fix Minitest base class warnings by creating a Haml::TestCase base
class that inherits from the latest Minitest base class available.

Background:

ActiveSupport 4.1 depends on mintiest 5.x, which uses Minitest::Test as
the base test class.

ActiveSupport 4.0 depends on mintiest 4.x, which uses
MiniTest::Unit::TestCase as the base class.

Rails 3.2 uses Test::Unit::TestCase defined by stdlib. There is no gem
dependency on minitest in Rails 3.2, nor is there a gem dependency on
test-unit.
2014-05-19 20:47:18 -06:00
Tee Parham
a6dac48e31 Remove unused Haml::Util::def_static_method 2014-02-01 12:35:13 -08:00
Tee Parham
2aab221f36 remove ruby 1.8 support from tests 2013-11-05 09:39:34 -03:00
Norman Clarke
7884fae7af Revert "Merge pull request #684 from teeparham/minitest_warnings"
This reverts commit a1f3abcf33, reversing
changes made to 1c0f1385da.
2013-05-23 09:41:27 -03:00
Tee Parham
b6433758c6 rename test classes to fix minitest warnings 2013-05-22 22:08:56 -06:00
Akira Matsuda
924f950f45 Make sure that the Encoding check does not modify the given string
this partially reverts 6ce26c83ad
see: 6ce26c83ad (commitcomment-2586688)
2013-02-09 00:27:27 +09:00
Matt Wildig
4ea337b49d Remove unused Dumpable class from util_test
A remnant from Sass, no longer used.
2012-12-18 19:05:24 +00:00
Matt Wildig
c98f6b1ec9 Remove unused scope method from Util 2012-05-30 20:48:19 +01:00
Norman Clarke
f3d53e0770 Remove now-unused has? helper. 2012-05-30 12:38:16 -03:00
Norman Clarke
c049c20c16 Remove version checking helpers 2012-05-30 11:33:18 -03:00
Norman Clarke
bff6b0a279 Merge branch 'tidy-util' of https://github.com/mattwildig/haml into rails3
Conflicts:
	lib/haml/util.rb
	test/util_test.rb
2012-05-30 10:31:20 -03:00
Norman Clarke
eae963fc7b Remove unused enum_with_index helper 2012-05-29 17:20:01 -03:00
Norman Clarke
7edc909c4e Remove to_hash helper 2012-05-29 17:12:07 -03:00
Norman Clarke
4a8403982f Remove map_keys helper 2012-05-29 17:09:25 -03:00
Norman Clarke
e81c7c6db3 Remove map_hash helper 2012-05-29 17:02:30 -03:00
Matt Wildig
406628e652 Delete unused util methods
Delete the following methods from Util, which are unused in Haml, and
their test:

    enum_with_index
    enum_cons
    enum_slice
    ord
2012-05-29 17:45:13 +01:00
Norman Clarke
a148068b25 Remove now unused code. 2012-05-29 00:08:51 -03:00
Norman Clarke
2311bb2c2b Remove haml_warn - dead code 2012-05-22 16:54:02 -03:00
Norman Clarke
cd2bcc1870 Removed dump_and_load - dead code 2012-05-22 16:40:42 -03:00
Norman Clarke
1091814f02 Remove map_vals - dead code 2012-05-22 16:39:10 -03:00
Norman Clarke
e747898474 Remove lcs - dead code 2012-05-22 16:38:13 -03:00
Norman Clarke
795efb7873 Remove paths - dead code 2012-05-22 16:37:33 -03:00
Norman Clarke
d7985dd9fd Remove strip_string_array - dead code 2012-05-22 16:36:56 -03:00
Norman Clarke
45ffb09b09 Remove substitute - dead code 2012-05-22 16:36:08 -03:00
Norman Clarke
dff6b50983 Remove restrict - dead code 2012-05-22 16:35:34 -03:00
Norman Clarke
aa30b18af1 Remove intersperce - dead code 2012-05-22 16:34:52 -03:00
Norman Clarke
4ec87c495a Remove merge_adjacent_strings - dead code. 2012-05-22 16:33:49 -03:00
Norman Clarke
f522cf3556 Make test requires consistent across platforms 2012-05-01 12:09:15 -03:00
Norman Clarke
ea8b22f250 Switch to Minitest
This way we're sure to be using the same test library on all Ruby
versions and platforms.
2012-04-30 13:54:43 -03:00
Norman Clarke
b2900feceb Remove unused code and test
This test was failing in JRuby, and since it's not being used anywhere
in Haml any more, it's safe to just remove it.
2012-04-30 13:52:46 -03:00
Norman Clarke
8ccc477c41 Don't make tests executable 2012-04-27 22:39:40 -03:00
Norman Clarke
4876668fef Moved tests out of Haml directory 2012-04-26 17:41:54 -03:00
Renamed from test/haml/util_test.rb (Browse further)