summaryrefslogtreecommitdiff
path: root/test/test_highline.rb
diff options
context:
space:
mode:
authorAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-03-15 09:40:23 -0300
committerAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-04-29 23:43:27 -0300
commit0478b5ab1652267e0a16752b8413b5cce0b2a32f (patch)
treedcd9bc6e991f3dabf5fda5795b12c6fd6c75aecc /test/test_highline.rb
parente93eb1baf5c4121d680dba5b9cdff504605d7845 (diff)
downloadhighline-0478b5ab1652267e0a16752b8413b5cce0b2a32f.tar.gz
Add coding information to all files - 1.9 compatibility
Diffstat (limited to 'test/test_highline.rb')
-rwxr-xr-xtest/test_highline.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_highline.rb b/test/test_highline.rb
index 168fc11..4901d9b 100755
--- a/test/test_highline.rb
+++ b/test/test_highline.rb
@@ -1,4 +1,6 @@
-# encoding: utf-8
+#!/usr/bin/env ruby
+# coding: utf-8
+
# tc_highline.rb
#
# Created by James Edward Gray II on 2005-04-26.
@@ -590,7 +592,7 @@ class TestHighLine < Minitest::Test
q.glob = "*.rb"
end
assert_instance_of(File, file)
- assert_equal("# encoding: utf-8\n", file.gets)
+ assert_equal("#!/usr/bin/env ruby\n", file.gets)
file.close
@input.rewind