1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/uconv/tests/unit/test_bug396637.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +// Tests conversion of a single byte from UTF-16 to Unicode 1.5 + 1.6 +load('CharsetConversionTests.js'); 1.7 + 1.8 +const inString = "A"; 1.9 +const expectedString = ""; 1.10 +const charset = "UTF-16BE"; 1.11 + 1.12 +function run_test() { 1.13 + checkDecode(CreateScriptableConverter(), charset, inString, expectedString); 1.14 +}