diff options
author | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-03-15 09:40:23 -0300 |
---|---|---|
committer | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-04-29 23:43:27 -0300 |
commit | 0478b5ab1652267e0a16752b8413b5cce0b2a32f (patch) | |
tree | dcd9bc6e991f3dabf5fda5795b12c6fd6c75aecc /test | |
parent | e93eb1baf5c4121d680dba5b9cdff504605d7845 (diff) | |
download | highline-0478b5ab1652267e0a16752b8413b5cce0b2a32f.tar.gz |
Add coding information to all files - 1.9 compatibility
Diffstat (limited to 'test')
-rw-r--r-- | test/string_methods.rb | 3 | ||||
-rw-r--r-- | test/test_color_scheme.rb | 3 | ||||
-rw-r--r-- | test/test_helper.rb | 3 | ||||
-rwxr-xr-x | test/test_highline.rb | 6 | ||||
-rw-r--r-- | test/test_import.rb | 3 | ||||
-rw-r--r-- | test/test_menu.rb | 2 | ||||
-rw-r--r-- | test/test_paginator.rb | 3 | ||||
-rw-r--r-- | test/test_string_extension.rb | 3 | ||||
-rw-r--r-- | test/test_string_highline.rb | 3 | ||||
-rwxr-xr-x | test/test_style.rb | 3 | ||||
-rw-r--r-- | test/test_wrapper.rb | 3 |
11 files changed, 33 insertions, 2 deletions
diff --git a/test/string_methods.rb b/test/string_methods.rb index 0ae2c5c..9c61359 100644 --- a/test/string_methods.rb +++ b/test/string_methods.rb @@ -1,3 +1,6 @@ +#!/usr/bin/env ruby +# coding: utf-8 + # string_methods.rb # # Created by Richard LeBer 2011-06-27 diff --git a/test/test_color_scheme.rb b/test/test_color_scheme.rb index c37308a..388c0ea 100644 --- a/test/test_color_scheme.rb +++ b/test/test_color_scheme.rb @@ -1,3 +1,6 @@ +#!/usr/bin/env ruby +# coding: utf-8 + # tc_color_scheme.rb # # Created by Jeremy Hinegardner on 2007-01-24. diff --git a/test/test_helper.rb b/test/test_helper.rb index af0bfeb..6068398 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,3 +1,6 @@ +#!/usr/bin/env ruby +# coding: utf-8 + require "codeclimate-test-reporter" CodeClimate::TestReporter.start 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 diff --git a/test/test_import.rb b/test/test_import.rb index 2177daa..4bac518 100644 --- a/test/test_import.rb +++ b/test/test_import.rb @@ -1,3 +1,6 @@ +#!/usr/bin/env ruby +# coding: utf-8 + # tc_import.rb # # Created by James Edward Gray II on 2005-04-26. diff --git a/test/test_menu.rb b/test/test_menu.rb index f745e04..7f3250d 100644 --- a/test/test_menu.rb +++ b/test/test_menu.rb @@ -1,4 +1,6 @@ +#!/usr/bin/env ruby # coding: utf-8 + # tc_menu.rb # # Created by Gregory Thomas Brown on 2005-05-10. diff --git a/test/test_paginator.rb b/test/test_paginator.rb index 85ebd61..5f89899 100644 --- a/test/test_paginator.rb +++ b/test/test_paginator.rb @@ -1,3 +1,6 @@ +#!/usr/bin/env ruby +# coding: utf-8 + require "minitest/autorun" require "test_helper" diff --git a/test/test_string_extension.rb b/test/test_string_extension.rb index caa85a0..2527da5 100644 --- a/test/test_string_extension.rb +++ b/test/test_string_extension.rb @@ -1,3 +1,6 @@ +#!/usr/bin/env ruby +# coding: utf-8 + # tc_string_extension.rb # # Created by Richard LeBer 2011-06-27 diff --git a/test/test_string_highline.rb b/test/test_string_highline.rb index 1a6d0df..ad450af 100644 --- a/test/test_string_highline.rb +++ b/test/test_string_highline.rb @@ -1,3 +1,6 @@ +#!/usr/bin/env ruby +# coding: utf-8 + # tc_highline_string.rb # # Created by Richard LeBer 2011-06-27 diff --git a/test/test_style.rb b/test/test_style.rb index 84e4e6b..ccba936 100755 --- a/test/test_style.rb +++ b/test/test_style.rb @@ -1,3 +1,6 @@ +#!/usr/bin/env ruby +# coding: utf-8 + # tc_style.rb # # Created by Richard LeBer on 2011-06-11. diff --git a/test/test_wrapper.rb b/test/test_wrapper.rb index 6c51f2e..6afcdff 100644 --- a/test/test_wrapper.rb +++ b/test/test_wrapper.rb @@ -1,3 +1,6 @@ +#!/usr/bin/env ruby +# coding: utf-8 + require "minitest/autorun" require "test_helper" |