Index: test/webkit/fast/js/kde/lval-exceptions.js |
diff --git a/test/webkit/fast/js/kde/lval-exceptions.js b/test/webkit/fast/js/kde/lval-exceptions.js |
index 14012b561db7d25a5f6eb964dba0a33009f8d307..eca07942fdea139d85de5cbfffbd015940d38462 100644 |
--- a/test/webkit/fast/js/kde/lval-exceptions.js |
+++ b/test/webkit/fast/js/kde/lval-exceptions.js |
@@ -25,19 +25,19 @@ description("KDE JS Test"); |
// Tests for raising --- and non-raising exceptions on access to reference to undefined things... |
// Locals should throw on access if undefined.. |
-fnShouldThrow(function() { a = x; }, ReferenceError); |
+fnShouldThrow(function () { a = x; }, ReferenceError); |
// Read-modify-write versions of assignment should throw as well |
-fnShouldThrow(function() { x += "foo"; }, ReferenceError); |
+fnShouldThrow(function () { x += "foo"; }, ReferenceError); |
// Other reference types should just return undefined... |
a = new Object(); |
-fnShouldNotThrow(function() { b = a.x; }); |
-fnShouldNotThrow(function() { b = a['x']; }); |
-fnShouldNotThrow(function() { a['x'] += 'baz'; }); |
+fnShouldNotThrow(function () { b = a.x; }); |
+fnShouldNotThrow(function () { b = a['x']; }); |
+fnShouldNotThrow(function () { a['x'] += 'baz'; }); |
shouldBe("a['x']", '"undefinedbaz"'); |
-fnShouldNotThrow(function() { b = a.y; }); |
-fnShouldNotThrow(function() { a.y += 'glarch'; }); |
+fnShouldNotThrow(function () { b = a.y; }); |
+fnShouldNotThrow(function () { a.y += 'glarch'; }); |
shouldBe("a['y']", '"undefinedglarch"'); |