mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 11:20:41 -07:00
Clean up test suite
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
#!/usr/bin/env ruby
|
||||
extras_path = File.join File.dirname(__FILE__), 'extra'
|
||||
$LOAD_PATH.unshift(extras_path) unless $LOAD_PATH.include? extras_path
|
||||
|
||||
require 'rubygems' unless RUBY_VERSION >= '1.9'
|
||||
require 'test/unit'
|
||||
require 'test/unit/assertions'
|
||||
require 'caller'
|
||||
require 'breakpoint'
|
||||
begin
|
||||
require 'ruby-debug'
|
||||
rescue LoadError
|
||||
@@ -16,9 +11,7 @@ require File.join(File.dirname(__FILE__), '..', 'lib', 'liquid')
|
||||
|
||||
|
||||
module Test
|
||||
|
||||
module Unit
|
||||
|
||||
module Assertions
|
||||
include Liquid
|
||||
|
||||
@@ -32,7 +25,5 @@ module Test
|
||||
assert_match expected, Template.parse(template).render(assigns)
|
||||
end
|
||||
end # Assertions
|
||||
|
||||
end # Unit
|
||||
|
||||
end # Test
|
||||
|
||||
Reference in New Issue
Block a user