From a13f237d3ccf13156e76574e8935c0a476f7a5b4 Mon Sep 17 00:00:00 2001 From: Arthur Neves Date: Tue, 7 Jan 2014 11:37:01 -0500 Subject: [PATCH] Remove some 192 tests --- test/liquid/standard_filter_test.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/liquid/standard_filter_test.rb b/test/liquid/standard_filter_test.rb index 9e51432..3b58711 100644 --- a/test/liquid/standard_filter_test.rb +++ b/test/liquid/standard_filter_test.rb @@ -232,9 +232,6 @@ class StandardFiltersTest < Test::Unit::TestCase assert_template_result "12", "{{ 3 | times:4 }}" assert_template_result "0", "{{ 'foo' | times:4 }}" - # Ruby v1.9.2-rc1, or higher, backwards compatible Float test - assert_match(/(6\.3)|(6\.(0{13})1)/, Template.parse("{{ '2.1' | times:3 }}").render) - assert_template_result "6", "{{ '2.1' | times:3 | replace: '.','-' | plus:0}}" assert_template_result "7.25", "{{ 0.0725 | times:100 }}" @@ -244,9 +241,6 @@ class StandardFiltersTest < Test::Unit::TestCase assert_template_result "4", "{{ 12 | divided_by:3 }}" assert_template_result "4", "{{ 14 | divided_by:3 }}" - # Ruby v1.9.2-rc1, or higher, backwards compatible Float test - assert_match(/4\.(6{13,14})7/, Template.parse("{{ 14 | divided_by:'3.0' }}").render) - assert_template_result "5", "{{ 15 | divided_by:3 }}" assert_template_result "Liquid error: divided by 0", "{{ 5 | divided_by:0 }}"