From df33e410b0807105b7b39de6531340a42c68c065 Mon Sep 17 00:00:00 2001 From: Thomas Fuchs Date: Sat, 12 May 2007 19:12:04 +0000 Subject: [PATCH] testElementMethodInsert: add test for non-lowercase position argument --- test/unit/dom.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/dom.html b/test/unit/dom.html index 0ed9773..aa2e1e1 100644 --- a/test/unit/dom.html +++ b/test/unit/dom.html @@ -435,6 +435,9 @@ $('element-insertions-main').insert('some more text at the bottom'); assert(getInnerHTML('element-insertions-main').endsWith('some more text at the bottom')); + + $('element-insertions-main').insert('some text uppercase top', 'TOP'); + assert(getInnerHTML('element-insertions-main').startsWith('some text uppercase top')); }}, testInsertionBackwardsCompatibility: function() {with(this) {