mirror of
https://github.com/flynx/pWiki.git
synced 2026-07-13 20:10:57 +00:00
tests...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b37925d28e
commit
79ad01b9aa
@ -313,8 +313,26 @@ test.Setups({
|
|||||||
'<< << recursion found >> >>', ], } },
|
'<< << recursion found >> >>', ], } },
|
||||||
|
|
||||||
// quote...
|
// quote...
|
||||||
// for inline quoting see: test.Modifiers.quote
|
// NOTE: for inline quoting see: test.Modifiers.quote
|
||||||
// XXX
|
quote_a: function(assert, quoted='@include(/page)'){
|
||||||
|
return {code: [
|
||||||
|
'@quote(text="'+ quoted +'")',
|
||||||
|
quoted ], } },
|
||||||
|
quote_b: function(assert, quoted='@include(/page)'){
|
||||||
|
return {code: [
|
||||||
|
'<quote>'+ quoted +'</quote>',
|
||||||
|
quoted ], } },
|
||||||
|
/* XXX this is broken...
|
||||||
|
quote_quote_a_a: function(assert){
|
||||||
|
return this.quote_a(assert, '@qoote(text=\\"text\\")') },
|
||||||
|
//*/
|
||||||
|
quote_quote_a_b: function(assert){
|
||||||
|
return this.quote_b(assert, '@qoote(text="text")') },
|
||||||
|
quote_quote_b_a: function(assert){
|
||||||
|
return this.quote_a(assert, '<qoote> text </quote>') },
|
||||||
|
// XXX do we need a non-html way to quote things??
|
||||||
|
quote_quote_b_b: function(assert){
|
||||||
|
return this.quote_b(assert, '<qoote> text </quote>') },
|
||||||
|
|
||||||
// macro...
|
// macro...
|
||||||
macro: function(assert, path='/page', res){
|
macro: function(assert, path='/page', res){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user