Tests: unset LC_ALL variable in Ruby encoding test.
This change is necessary to set Encoding.default_external value correctly.
This commit is contained in:
@@ -250,7 +250,8 @@ class TestRubyApplication(TestApplicationRuby):
|
|||||||
|
|
||||||
def check_locale(enc):
|
def check_locale(enc):
|
||||||
assert 'success' in self.conf(
|
assert 'success' in self.conf(
|
||||||
{"LC_CTYPE": enc}, '/config/applications/encoding/environment',
|
{"LC_CTYPE": enc, "LC_ALL": ""},
|
||||||
|
'/config/applications/encoding/environment',
|
||||||
)
|
)
|
||||||
|
|
||||||
resp = self.get()
|
resp = self.get()
|
||||||
|
|||||||
Reference in New Issue
Block a user