Index: test/webkit/numeric-compare.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/numeric-compare.js |
similarity index 91% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/numeric-compare.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..3334a4422106cb04733a263897938d6b7c3ca055 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/numeric-compare.js |
@@ -21,6 +21,9 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-wasPostTestScriptParsed = true; |
+description( |
+'Tests that compiling a numeric comparison function does not crash' |
+); |
-finishJSTest(); |
+var a, b; |
+(function () { return a - b; })(); |