summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/net/ftp/test_buffered_socket.rb3
-rw-r--r--test/net/ftp/test_mlsx_entry.rb3
-rw-r--r--test/open-uri/test_open-uri.rb3
-rw-r--r--test/open-uri/test_ssl.rb3
-rw-r--r--test/pathname/test_pathname.rb3
-rw-r--r--test/test_pp.rb3
-rw-r--r--test/test_prettyprint.rb3
7 files changed, 7 insertions, 14 deletions
diff --git a/test/net/ftp/test_buffered_socket.rb b/test/net/ftp/test_buffered_socket.rb
index 419d50bb53..3cc46fa555 100644
--- a/test/net/ftp/test_buffered_socket.rb
+++ b/test/net/ftp/test_buffered_socket.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require "net/ftp"
require "test/unit"
diff --git a/test/net/ftp/test_mlsx_entry.rb b/test/net/ftp/test_mlsx_entry.rb
index 7321caad7d..92fe411548 100644
--- a/test/net/ftp/test_mlsx_entry.rb
+++ b/test/net/ftp/test_mlsx_entry.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require "net/ftp"
require "test/unit"
diff --git a/test/open-uri/test_open-uri.rb b/test/open-uri/test_open-uri.rb
index 5ad8e5940b..19451e25ee 100644
--- a/test/open-uri/test_open-uri.rb
+++ b/test/open-uri/test_open-uri.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'test/unit'
require 'open-uri'
require 'webrick'
diff --git a/test/open-uri/test_ssl.rb b/test/open-uri/test_ssl.rb
index 12e97add85..956fe05399 100644
--- a/test/open-uri/test_ssl.rb
+++ b/test/open-uri/test_ssl.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'test/unit'
require 'open-uri'
require 'stringio'
diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb
index 94bcc90bf0..2690a3f6de 100644
--- a/test/pathname/test_pathname.rb
+++ b/test/pathname/test_pathname.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'test/unit'
require 'pathname'
diff --git a/test/test_pp.rb b/test/test_pp.rb
index 70390c7559..5f8216dcce 100644
--- a/test/test_pp.rb
+++ b/test/test_pp.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'pp'
require 'delegate'
diff --git a/test/test_prettyprint.rb b/test/test_prettyprint.rb
index 30b00095d9..27e7198886 100644
--- a/test/test_prettyprint.rb
+++ b/test/test_prettyprint.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'prettyprint'
require 'test/unit'