[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10636: Restore correct characters m
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10636: Restore correct characters munged up by Dubious Proprietary Operating |
Date: |
Fri, 27 Feb 2009 08:52:06 +0100 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10636
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Fri 2009-02-27 08:52:06 +0100
message:
Restore correct characters munged up by Dubious Proprietary Operating
System and making tests fail.
modified:
testsuite/actionscript.all/String.as
=== modified file 'testsuite/actionscript.all/String.as'
--- a/testsuite/actionscript.all/String.as 2009-02-25 22:33:03 +0000
+++ b/testsuite/actionscript.all/String.as 2009-02-27 07:52:06 +0000
@@ -1,5 +1,5 @@
//
-// Copyright (C) 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -730,17 +730,17 @@
// Chars greater than 128
#if OUTPUT_VERSION > 5
check_equals (chr(246), "ö");
-check_equals (chr(486), "?");
-check_equals (chr(998), "?");
+check_equals (chr(486), "Ǧ");
+check_equals (chr(998), "Ϧ");
check_equals (ord("ö"), 246);
-check_equals (ord("?"), 998);
+check_equals (ord("Ϧ"), 998);
#else // version <= 5
check_equals (typeof(chr(486)), 'string');
check_equals (chr(865), "a");
check_equals (ord("ö"), 195);
check_equals (ord("Ö"), 195);
-check_equals (ord("?"), 199);
-check_equals (ord("?"), 207);
+check_equals (ord("ǵ"), 199);
+check_equals (ord("Ϧ"), 207);
#endif
//-------------------------------------------
@@ -751,7 +751,7 @@
// All versions, especially 5:
var c;
-i = "?";
+i = "Ǧ";
asm {
push "c"
@@ -767,7 +767,7 @@
xcheck_equals (c, 199);
#endif
-i = "?";
+i = "Ϧ";
asm {
push "c"
@@ -796,7 +796,7 @@
};
#if OUTPUT_VERSION > 5
-check_equals (c, "?");
+check_equals (c, "Ϧ");
#else
check_equals (typeof(c), "string");
// c == "" fails, but when displayed it evaluates to the empty string
@@ -815,7 +815,7 @@
};
#if OUTPUT_VERSION > 5
-check_equals (c, "?");
+check_equals (c, "徐");
#else
check_equals (typeof(c), "string");
// c == "" fails, but when displayed it evaluates to the empty string
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10636: Restore correct characters munged up by Dubious Proprietary Operating,
Benjamin Wolsey <=