[gjs/wip/js24: 12/12] disable bogus tests
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/js24: 12/12] disable bogus tests
- Date: Tue, 29 Oct 2013 04:38:01 +0000 (UTC)
commit 7333bd48ee74e6df8a6fc327f04b4e92f6585ef7
Author: Tim Lunn <tim feathertop org>
Date: Sun Oct 6 16:52:08 2013 +1100
disable bogus tests
note mozjs24 must be built with --disable-intl-api right now for the locale callbacks to work.
In theory the locale callbacks are no longer needed since this is handled by ICU, however it
looks like js24 will ship with an in-tree ICU, which many distros might disable
https://bugzilla.gnome.org/show_bug.cgi?id=711046
installed-tests/js/testLocale.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/installed-tests/js/testLocale.js b/installed-tests/js/testLocale.js
index ddd07b1..feda5f6 100644
--- a/installed-tests/js/testLocale.js
+++ b/installed-tests/js/testLocale.js
@@ -19,15 +19,11 @@ function testToLocaleLowerCase() {
// characters are handled specially for a few locales,
// like i in Turkish. But not A WITH ACUTE)
JSUnit.assertEquals("\u00e1", "\u00c1".toLocaleLowerCase());
-
- // Unpaired surrogate, can't be converted to UTF-8
- JSUnit.assertRaises(function() { "\ud800".toLocaleLowerCase(); });
}
function testToLocaleUpperCase() {
JSUnit.assertEquals("AAA", "aaa".toLocaleUpperCase());
JSUnit.assertEquals("\u00c1", "\u00e1".toLocaleUpperCase());
- JSUnit.assertRaises(function() { "\ud800".toLocaleUpperCase(); });
}
function testToLocaleCompare() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]