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

Don't make tests executable

This commit is contained in:
Norman Clarke 2012-04-27 22:00:19 -03:00
parent b30964c9e6
commit 8ccc477c41
7 changed files with 1 additions and 9 deletions

2
test/benchmark.rb Executable file → Normal file
View file

@ -1,5 +1,3 @@
#!/usr/bin/env ruby
times = (ARGV.first || 1000).to_i
if times == 0 # Invalid parameter

1
test/engine_test.rb Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
require File.dirname(__FILE__) + '/test_helper'

3
test/helper_test.rb Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/test_helper'
class ActionView::Base
@ -436,7 +435,7 @@ MESSAGE
render("- something_that_uses_haml_concat")
assert false, "Expected Haml::Error"
rescue Haml::Error => e
assert_equal 16, e.backtrace[0].scan(/:(\d+)/).first.first.to_i
assert_equal 15, e.backtrace[0].scan(/:(\d+)/).first.first.to_i
end
class ActsLikeTag

1
test/html2haml_test.rb Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/test_helper'
require File.dirname(__FILE__) + '/html2haml/erb_tests'
require 'haml/html'

1
test/spec_test.rb Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/test_helper'
begin

1
test/template_test.rb Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/test_helper'
require 'sass/plugin'
require File.dirname(__FILE__) + '/mocks/article'

1
test/util_test.rb Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/test_helper'
require 'pathname'