Index: test/webkit/fast/js/kde/cast.js |
diff --git a/test/webkit/const-without-initializer.js b/test/webkit/fast/js/kde/cast.js |
similarity index 87% |
copy from test/webkit/const-without-initializer.js |
copy to test/webkit/fast/js/kde/cast.js |
index 9eb036522a05920b2c1441b387002f91811d1752..c8d3792a63c082515bb4f81c07fafe25cfd59b53 100644 |
--- a/test/webkit/const-without-initializer.js |
+++ b/test/webkit/fast/js/kde/cast.js |
@@ -21,14 +21,8 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-description( |
-'Tests that declaring a const variable without initializing has the correct behavior and does not crash' |
-); |
- |
-const f; |
- |
-shouldBe('f', 'undefined'); |
- |
-f = 10; |
- |
-shouldBe('f', 'undefined'); |
+description("KDE JS Test"); |
+shouldBeTrue("Boolean(1) === true"); |
+shouldBeTrue("var s = String; s(1) === '1'"); |
+shouldBeTrue("n = Number; n(true) === 1"); |
+shouldBe("String(Array('a', 'b' ))", "'a,b'"); |