Fix obsolete haml test path

This commit is contained in:
Takashi Kokubun 2015-10-24 22:28:36 +09:00
parent 3d7470989c
commit 0070620624
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ namespace :benchmark do
haml_benchmark = Benchmark.new('haml ')
faml_benchmark = Benchmark.new('faml ')
hamlit_benchmark = Benchmark.new('hamlit')
yaml_path = File.expand_path('../test/haml-spec/tests.yml', __dir__)
yaml_path = File.expand_path('../test/haml/haml-spec/tests.yml', __dir__)
contexts = YAML.load(File.read(yaml_path))
faml_engine = Faml::Engine.new(filename: '')

View File

@ -5,7 +5,7 @@ require 'yaml'
desc 'Profile compilation'
task :profile do
yaml_path = File.expand_path('../test/haml-spec/tests.yml', __dir__)
yaml_path = File.expand_path('../test/haml/haml-spec/tests.yml', __dir__)
contexts = YAML.load(File.read(yaml_path))
hamlit_engine = Hamlit::Engine.new

View File

@ -56,7 +56,7 @@ namespace :benchmark do
faml_engine = Faml::Engine.new(filename: '')
hamlit_engine = Hamlit::Engine.new
haml = File.read(File.expand_path('../test/templates/standard.haml', __dir__))
haml = File.read(File.expand_path('../test/haml/templates/standard.haml', __dir__))
locals = {}
options = { ugly: true, escape_html: true }