We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf60606 commit e7616c1Copy full SHA for e7616c1
lib/sass_spec/test_case.rb
@@ -99,7 +99,7 @@ def output
99
end
100
101
def expected
102
- output = File.read(@expected_path, :binmode => true)
+ output = File.read(@expected_path, :binmode => true, :encoding => "ASCII-8BIT")
103
# we seem to get CP850 otherwise
104
# this provokes equal test to fail
105
output.force_encoding('ASCII-8BIT')
@@ -111,7 +111,7 @@ def expected
111
112
113
def expected_error
114
- @expected_error = _clean_error(File.read(@error_path, :binmode => true))
+ @expected_error = _clean_error(File.read(@error_path, :binmode => true, :encoding => "ASCII-8BIT"))
115
116
117
def expected_status
0 commit comments