File tree 2 files changed +1
-8
lines changed
2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 1
1
rvm :
2
2
- 1.9.3
3
3
- 2.0.0
4
- - ruby-head
4
+ - 2.1.0
5
5
- jruby-19mode
6
6
- jruby-head
7
7
- rbx-19mode
8
8
matrix :
9
9
allow_failures :
10
- - rvm : ruby-head
11
10
- rvm : rbx-19mode
12
11
- rvm : jruby-head
13
12
Original file line number Diff line number Diff line change @@ -232,9 +232,6 @@ def test_times
232
232
assert_template_result "12" , "{{ 3 | times:4 }}"
233
233
assert_template_result "0" , "{{ 'foo' | times:4 }}"
234
234
235
- # Ruby v1.9.2-rc1, or higher, backwards compatible Float test
236
- assert_match ( /(6\. 3)|(6\. (0{13})1)/ , Template . parse ( "{{ '2.1' | times:3 }}" ) . render )
237
-
238
235
assert_template_result "6" , "{{ '2.1' | times:3 | replace: '.','-' | plus:0}}"
239
236
240
237
assert_template_result "7.25" , "{{ 0.0725 | times:100 }}"
@@ -244,9 +241,6 @@ def test_divided_by
244
241
assert_template_result "4" , "{{ 12 | divided_by:3 }}"
245
242
assert_template_result "4" , "{{ 14 | divided_by:3 }}"
246
243
247
- # Ruby v1.9.2-rc1, or higher, backwards compatible Float test
248
- assert_match ( /4\. (6{13,14})7/ , Template . parse ( "{{ 14 | divided_by:'3.0' }}" ) . render )
249
-
250
244
assert_template_result "5" , "{{ 15 | divided_by:3 }}"
251
245
assert_template_result "Liquid error: divided by 0" , "{{ 5 | divided_by:0 }}"
252
246
You can’t perform that action at this time.
0 commit comments