Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Writing a failing test to show issue in subexec.

New release of subexec (pull request here: 
pressly/subexec#3
)
  • Loading branch information...
commit c3353dd7e2563990a05dcb2ad9455cf5db4295ce 1 parent 04898ec
@hcatlin hcatlin authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 test/image_test.rb
View
11 test/image_test.rb
@@ -259,6 +259,17 @@ def test_issue_15
ensure
FileUtils.rm("test.gif")
end
+
+ # https://github.com/probablycorey/mini_magick/issues/37
+ def test_nonstandard_locale
+ original_lang = ENV["LANG"]
+ ENV["LANG"] = "fr_FR.UTF-8"
+
+ # This test should break
+ test_throw_on_openining_not_an_image
+ ensure
+ ENV["LANG"] = original_lang
+ end
def test_throw_format_error
image = Image.open(SIMPLE_IMAGE_PATH)
Please sign in to comment.
Something went wrong with that request. Please try again.