mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove # coding: utf-8 from Ruby files
The default script encoding is Encoding::UTF-8 after v2.0. https://ruby-doc.org/core-2.1.2/Encoding.html#class-Encoding-label-Script+encoding
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
# coding: utf-8
|
||||
PACK_IS_LITTLE_ENDIAN = "\x01\00".unpack('S')[0] == 0x01
|
||||
|
||||
def assert_pack tmpl, packed, unpacked
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# coding: utf-8
|
||||
|
||||
assert('Integer#chr') do
|
||||
assert_equal("A", 65.chr)
|
||||
assert_equal("B", 0x42.chr)
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# coding: utf-8
|
||||
##
|
||||
# String(Ext) Test
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# coding: utf-8
|
||||
##
|
||||
# Symbol(Ext) Test
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# coding: utf-8
|
||||
##
|
||||
# Array
|
||||
#
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# coding: utf-8
|
||||
lib = File.expand_path('../lib', __FILE__)
|
||||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
||||
require 'mruby/source'
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# coding: utf-8
|
||||
##
|
||||
# String ISO Test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user