File: fix-encoding-of-test-file.patch

package info (click to toggle)
ruby-syslog-logger 1.6.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 124 kB
  • sloc: ruby: 479; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix enconding of test file
 Set the enconding to US-ASCII is necessary to prevent syntax error (invalid
 multibyte escape).
Author: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Last-Updated: 2016-03-31

--- a/test/test_syslog_logger.rb
+++ b/test/test_syslog_logger.rb
@@ -1,3 +1,5 @@
+# encoding: US-ASCII
+
 require 'test/unit'
 require 'tempfile'
 require 'syslog-logger'