Changeset 34747 in webkit for trunk/JavaScriptCore/API/testapi.c


Ignore:
Timestamp:
Jun 23, 2008, 2:41:55 PM (17 years ago)
Author:
[email protected]
Message:

Get testapi passing again in a debug build.

Reviewed by Oliver Hunt.

  • API/testapi.c:

(main): Update the expected output of calling JSValueMakeString on a function object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/testapi.c

    r34612 r34747  
    841841   
    842842    string = JSValueToStringCopy(context, function, NULL);
    843     assertEqualsAsUTF8String(JSValueMakeString(context, string), "function foo(foo) \n{\n  return foo;\n}");
     843    assertEqualsAsUTF8String(JSValueMakeString(context, string), "function foo(foo) {return foo;}");
    844844    JSStringRelease(string);
    845845
Note: See TracChangeset for help on using the changeset viewer.