Re: failing tests on cjs (based on gjs)



hi;

cjs is a fork maintained by the Linux Mint folks for their own use inside Cinnamon; GNOME has nothing to do with it. you should ask the Cinnamon developer(s) if you have issues with cjs.

ciao,
 Emmanuele.

On Thursday, February 6, 2014, Roelof Wobben <rwobben hotmail com> wrote:
Hello,

When I try to compile cjs, which is based on gjs , I see a failing test.

The test which is failing is this one :

function testInvalidStrings() {
    // Not really related to locale handling - here we are testing
    // gjs_string_to_utf8() to properly catch things we'll choke
    // on later.

    // Unpaired surrogate
    assertRaises(function() { "\ud800".toLocaleLowerCase(); });
    // Embedded NUL
    assertRaises(function() { "\u0000".toLocaleLowerCase(); });
    // Byte-reversed BOM (an example of a non-character)
    assertRaises(function() { "\ufffe".toLocaleLowerCase(); });
}

One of the test gives a undefined where it must raise a error.

Can anyone help me figure out how I could make this test workable.

Unfortanly I have no knowlegde or experience in _javascript_ so I could
use your help.

Regards,

Roelof
_______________________________________________
_javascript_-list mailing list
_javascript_-list gnome org
https://mail.gnome.org/mailman/listinfo/_javascript_-list


--
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]