updated tests...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2026-07-02 19:14:40 +03:00
parent cc94cdad03
commit 5dda9c3f49

View File

@ -50,6 +50,7 @@ module.exports.P = {
//---------------------------------------------------------------------
test.Setups({
// general parser...
empty: function(assert){
return { code: [ '', '' ] }},
@ -141,11 +142,7 @@ test.Setups({
return {code: [
'<slot slot>moo<slot slot>[[ <content/> ]]</slot></slot>',
'[[ moo ]]' ]} },
/* XXX SHOWN_HIDDEN
// XXX these need to be revised...
// ...do we actually need hidden/shown???
//
// shown/hidden..
slot_shown: function(assert){
var ins = this.slot_value(assert).code
var expect = ins.pop()
@ -170,9 +167,8 @@ test.Setups({
var expect = ins.pop()
return {code: [
...ins.map(function(i){
return i +'@slot(slot shown)' }),
'' ]} },
//*/
return i +' | @slot(slot shown)' }),
' | value' ]} },
// XXX var...
// XXX