Skip to content

Commit

Permalink
updated test/integration.rb thanks for the hint tomiacannondale@gmail…
Browse files Browse the repository at this point in the history
….com
  • Loading branch information
zdavatz committed Feb 14, 2011
1 parent 7d7f246 commit f3cf4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration.rb
Expand Up @@ -521,7 +521,7 @@ def test_worksheets__utf16
assert_instance_of Excel::Worksheet, sheet
str = "S\000h\000e\000e\000t\0001\000"
if RUBY_VERSION >= '1.9'
str.force_encoding 'UTF-16LE' if name.respond_to?(:force_encoding)
str.force_encoding 'UTF-16LE' if str.respond_to?(:force_encoding)
end
assert_equal sheet, book.worksheet(str)
end
Expand Down

0 comments on commit f3cf4d7

Please sign in to comment.